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/07/27 03:56:04 UTC
[jira] Created: (DIRSERVER-1011) Rename entry gives
LdapNameNotFoundException
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.
[jira] Updated: (DIRSERVER-1011) Rename entry gives
LdapNameNotFoundException
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1011:
-----------------------------------------
Fix Version/s: 1.5.1
to be fixed in 1.5.1
> 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.
[jira] Assigned: (DIRSERVER-1011) Rename entry gives
LdapNameNotFoundException
Posted by "Martin Alderson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1011?page=com.atlassian.jira.plugin.system.issuetabpanels: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=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.
[jira] Resolved: (DIRSERVER-1011) Rename entry gives
LdapNameNotFoundException
Posted by "Martin Alderson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Alderson resolved DIRSERVER-1011.
----------------------------------------
Resolution: Fixed
Fixed by normalising the DN's created by OperationFactory.newMove.
> 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.
[jira] Closed: (DIRSERVER-1011) Rename entry gives
LdapNameNotFoundException
Posted by "Martin Alderson (JIRA)" <ji...@apache.org>.
[ 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.