directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Alderson (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1011) Rename entry gives LdapNameNotFoundException
Date Fri, 27 Jul 2007 01:56:04 GMT
Rename entry gives LdapNameNotFoundException
--------------------------------------------

                 Key: DIRSERVER-1011
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1011
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: mitosis
    Affects Versions: 1.5.0
            Reporter: Martin Alderson


Renaming an entry with mitosis enabled gives an LdapNameNotFoundException for the target DN.

For example, the code ctxA.rename( "cn=test,ou=system", "cn=test2,ou=system" ) where the first
DN exists and the second does not will give the following exception:

org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: cn=test2,ou=system
	at org.apache.directory.server.core.partition.DefaultPartitionNexus.getPartition(DefaultPartitionNexus.java:1082)
	at org.apache.directory.server.core.partition.DefaultPartitionNexus.hasEntry(DefaultPartitionNexus.java:1003)
	at org.apache.directory.mitosis.operation.OperationFactory.checkBeforeAdd(OperationFactory.java:308)
	at org.apache.directory.mitosis.operation.OperationFactory.newAdd(OperationFactory.java:118)
	at org.apache.directory.mitosis.operation.OperationFactory.newMove(OperationFactory.java:289)
	at org.apache.directory.mitosis.operation.OperationFactory.newModifyRn(OperationFactory.java:220)
	at org.apache.directory.mitosis.service.ReplicationService.rename(ReplicationService.java:430)
	...


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message