directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Zoerner (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Updated: (DIREVE-230) Deletion of RDN and objectClass attribute
Date Mon, 22 Aug 2005 12:10:08 GMT
     [ http://issues.apache.org/jira/browse/DIREVE-230?page=all ]

Stefan Zoerner updated DIREVE-230:
----------------------------------

    Attachment: ObjectClassesRemovalTest.java

Here is the test case. Output is

Deletion of attribute objectClass should fail.
cn=Charly Brown,dc=apache,dc=org
No attributes
javax.naming.NamingException: [LDAP: error code 54 - failed to delete entry cn=Charly Brown,dc=apache,dc=org:
org.apache.ldap.server.interceptor.InterceptorException: Unexpected exception. [Root exception
is java.lang.NullPointerException]
	at org.apache.ldap.server.interceptor.InterceptorChain.throwInterceptorException(InterceptorChain.java:1202)
	at org.apache.ldap.server.interceptor.InterceptorChain.access$500(InterceptorChain.java:49)
	at org.apache.ldap.server.interceptor.InterceptorChain$2.delete(InterceptorChain.java:932)
...

> Deletion of RDN and objectClass attribute
> -----------------------------------------
>
>          Key: DIREVE-230
>          URL: http://issues.apache.org/jira/browse/DIREVE-230
>      Project: Directory Server
>         Type: Bug
>     Versions: 0.9.2
>     Reporter: Stefan Zoerner
>     Assignee: Alex Karasulu
>  Attachments: ObjectClassesRemovalTest.java
>
> It is possible to remove the RDN and the objectClass attribute from an entry via a modify
operation. Removing the objectClass attribute leads to an entry which can't be deleted.
> Attached you find a testcase which demonstrates the deletion of the objectClass on a
person entry.
> After this operation, it is still possible to lookup the entry with its DN, although
it has no attributes and deletion attempts cause an error: 
> LDAP: error code 54 - failed to delete entry cn=Charly Brown,dc=apache,dc=org

-- 
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


Mime
View raw message