Boleslaw Dawidowicz created GTNPORTAL-2353:
----------------------------------------------
Summary: Unable to remove DB users if LDAP store is not read-only
Key: GTNPORTAL-2353
URL:
https://issues.jboss.org/browse/GTNPORTAL-2353
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: - GateIn configured with LDAP using
picketlink-idm/examples/picketlink-idm-ldap-acme-config.xml
- FallbackIdentityStoreRepository option: readOnly=false
Reporter: Boleslaw Dawidowicz
Assignee: Boleslaw Dawidowicz
Fix For: 3.2.0-GA
Trying to delete one of the default DB users (john, mary...) in a setup with LDAP
(readOnly=false) fails with the following error:
ERROR [portal:UIPortalApplication] Error during the processAction phase
java.lang.NullPointerException
at
org.picketlink.idm.impl.store.ldap.LDAPIdentityStoreImpl.removeIdentityObject(LDAPIdentityStoreImpl.java:498)
at
org.picketlink.idm.impl.repository.FallbackIdentityStoreRepository.removeIdentityObject(FallbackIdentityStoreRepository.java:490)
at
org.picketlink.idm.impl.api.session.managers.PersistenceManagerImpl.removeUser(PersistenceManagerImpl.java:231)
at org.exoplatform.services.organization.idm.UserDAOImpl.removeUser(UserDAOImpl.java:251)
at
org.exoplatform.organization.webui.component.UIListUsers$DeleteUserActionListener.execute(UIListUsers.java:210)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira