[ http://issues.apache.org/jira/browse/DIRSERVER-702?page=all ]

Stefan Zoerner updated DIRSERVER-702:
-------------------------------------

    Attachment: RemovalOfRdnAttributeTest.java

JNDI JUnit test which demonstrates the problem. Please note that only the test 
case testReplaceRdnByEmptyValueAttribute fails. The other test cases are for 
reference only, they try comparable situations, in which Apache DS works just 
fine.

The test case has been checked with Sun Java System Directory Server 5.2 and 
IBM Tivoli Directory Server 6.0 -- in both cases, it passes completely.

> Trying to remove an attribute which is part of the RDN does not cause an error
> ------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-702
>                 URL: http://issues.apache.org/jira/browse/DIRSERVER-702
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0-RC4
>         Environment: * ApacheDS 1.0 RC4 SNAPSHOT
> * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> * Windows XP Professional SP2
>            Reporter: Stefan Zoerner
>         Attachments: RemovalOfRdnAttributeTest.java
>
>
> If I create an entry like this
> dn: cn=Kate Bush,dc=example,dc=com
> objectclass: top
> objectclass: person
> cn: Kate Bush
> sn: Bush
> and try to remove the attribute cn via modify operation, no error occurs. The 
> good thing is, that the entry keeps the same (no invalid entry appears). But 
> the expected result is an error. To be more concrete, LDAP error code 67 - 
> Not Allowed On RDN. I'll attach a JUnit test with JNDI, which demonstrates 
> the problem.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to