You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Martin Alderson (JIRA)" <ji...@apache.org> on 2007/08/18 18:00:57 UTC
[jira] Closed: (DIRSERVER-1011) Rename entry gives
LdapNameNotFoundException
[ https://issues.apache.org/jira/browse/DIRSERVER-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Alderson closed DIRSERVER-1011.
--------------------------------------
> 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
> Assignee: Martin Alderson
> Fix For: 1.5.1
>
>
> 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.