Modification with multiple items are not considered as atomic operation
-----------------------------------------------------------------------
Key: DIRSERVER-1393
URL: https://issues.apache.org/jira/browse/DIRSERVER-1393
Project: Directory ApacheDS
Issue Type: Bug
Components: ldap
Affects Versions: 1.5.4, 1.5.5
Reporter: Stefan Seelmann
Priority: Critical
Having the following entry:
---------------------------------------------------------------------
dn: cn=test,ou=Users,dc=example,dc=com
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
cn: test
sn: test
---------------------------------------------------------------------
When trying to change the "sn" must attribute with following modification
sequence fails with error " [15:48:05] ERROR
[org.apache.directory.server.core.schema.SchemaInterceptor] - Trying to remove
a required attribute: sn".
---------------------------------------------------------------------
dn: cn=test,ou=Users,dc=example,dc=com
changetype: modify
delete: sn
sn: test
-
add: sn
sn: test2
-
---------------------------------------------------------------------
Order of add/delete or delete/add doesn't matter. Using "replace" works.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.