-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
2.2.7
-
None
-
None
-
- version: 2.2.7 (Build:#500 - 09-05-2011
- ApacheDS 1.5.x
- Add an ApacheDS LDAP directory
- Add a group to the directory
- Load the group again
- Untick the "Active" checkbox
- Click Update
Expected: I don't know what is supposed to happen on the LDAP server.
Actual: An empty 'description' attribute is added to the group LDAP entry. The page reloads and it still says that the group is active.
Note:
- If I try to the uncheck again and click update an error message is shown on the page (notice the missing substitution string):
org.springframework.ldap.AttributeInUseException: [LDAP: error code 20 - ATTRIBUTE_OR_VALUE_EXISTS: failed for Modify Request Object : 'cn=testgroup1,ou=1k,ou=Test,ou=system' Modification[0] Operation : add Modification description: : ERR_254 Trying to add existing value {0} to attribute description]; nested exception is javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - ATTRIBUTE_OR_VALUE_EXISTS: failed for Modify Request Object : 'cn=testgroup1,ou=1k,ou=Test,ou=system' Modification[0] Operation : add Modification description: : ERR_254 Trying to add existing value {0} to attribute description]; remaining name 'cn=testgroup1,ou=1k,ou=Test,ou=system'