07-27-07 06:11 PM
[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]
Martin Alderson reassigned DIRSERVER-1011:
------------------------------------------
Assignee: Martin Alderson
> 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
>
> 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=syste
m" ) where the first DN exists and the second does not will give the followi
ng exception:
> org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: cn=t
est2,ou=system
> at org.apache.directory.server.core.partition.DefaultPartitionNexus.getPa
rtition(DefaultPartitionNexus.java:1082)
> at org.apache.directory.server.core.partition.DefaultPartitionNexus.hasEn
try(DefaultPartitionNexus.java:1003)
> at org.apache.directory.mitosis.operation.OperationFactory.checkBeforeAdd
(OperationFactory.java:308)
> at org.apache.directory.mitosis.operation.OperationFactory.newAdd(Operati
onFactory.java:118)
> at org.apache.directory.mitosis.operation.OperationFactory.newMove(Operat
ionFactory.java:289)
> at org.apache.directory.mitosis.operation.OperationFactory.newModifyRn(Op
erationFactory.java:220)
> at org.apache.directory.mitosis.service.ReplicationService.rename(Replica
tionService.java:430)
> ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[ Post a follow-up to this message ]
|