-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 8.10, 9.2
-
Fix Version/s: 8.10-HF13
-
Component/s: Core MongoDB
-
Release Notes Summary:Fix NPE when searching for users in MongoDB directory
-
Tags:
-
Backlog priority:600
-
Sprint:nxFG 9.3.3
-
Story Points:2
Quick repro:
- install Nuxeo 8.10, nuxeo-jsf-ui, nuxeo-mongodb-ext, nuxeo-8.10-HF11
- nuxeo.templates=default,mongodb,mongodb-directory
- create a new user in Admin UI, Set user password: No, click Create
java.lang.NullPointerException at org.nuxeo.directory.mongodb.MongoDBSession.buildQuery(MongoDBSession.java:384) at org.nuxeo.directory.mongodb.MongoDBSession.query(MongoDBSession.java:328) at org.nuxeo.directory.mongodb.MongoDBSession.query(MongoDBSession.java:321) at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.searchUsers(UserManagerImpl.java:1090) at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.searchUsers(UserManagerImpl.java:949) at org.nuxeo.ecm.user.invite.UserInvitationComponent.isEmailExist(UserInvitationComponent.java:580) at org.nuxeo.ecm.user.invite.UserInvitationComponent.submitRegistrationRequest(UserInvitationComponent.java:596) at org.nuxeo.ecm.user.invite.UserInvitationComponent.submitRegistrationRequest(UserInvitationComponent.java:548) at org.nuxeo.ecm.webapp.security.UserManagementActions.createUser(UserManagementActions.java:242)
- is related to
-
NXP-21931 Make directory services more extensible
- Resolved