jmix
jmix copied to clipboard
EntityLogView does not show users from LDAP in dropdown list
Environment
Jmix version: 2.0+
Bug Description
The project is configured to logging in only by LDAP users. In EntityLogView when you try filter logs by user you see nothing. The problem occurs due to this code:
userField.setItems(userRepository.getByUsernameLike("")
// ...
LDAP does not load users by empty string.
Possible solution is to use fetch callback API as described here: https://github.com/jmix-framework/jmix/issues/3034
Steps To Reproduce
- Download project: sample-sales.zip. It is configured to connect with LDAP.
- Start your LDAP server and configure users
- Launch the application
- Go to
Audit->Entity log - Try to filter by user
Current Behavior
Users from LDPA are not loaded
Expected Behavior
Users from LDAP should be loaded and shown in dropdown list.