Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 25453 invoked from network); 27 Jul 2007 01:56:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 01:56:30 -0000 Received: (qmail 80605 invoked by uid 500); 27 Jul 2007 01:56:29 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 80321 invoked by uid 500); 27 Jul 2007 01:56:28 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 80253 invoked by uid 99); 27 Jul 2007 01:56:26 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 18:56:26 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 01:56:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2F5D87141FE for ; Thu, 26 Jul 2007 18:56:04 -0700 (PDT) Message-ID: <15300520.1185501364187.JavaMail.jira@brutus> Date: Thu, 26 Jul 2007 18:56:04 -0700 (PDT) From: "Martin Alderson (JIRA)" To: dev@directory.apache.org Subject: [jira] Created: (DIRSERVER-1011) Rename entry gives LdapNameNotFoundException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.