You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <ji...@apache.org> on 2006/08/10 05:37:14 UTC

[jira] Assigned: (DIRSERVER-702) Trying to remove an attribute which is part of the RDN does not cause an error

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

Alex Karasulu reassigned DIRSERVER-702:
---------------------------------------

    Assignee: Alex Karasulu

> 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
>         Assigned To: Alex Karasulu
>         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