Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C9E59E65 for ; Wed, 15 Feb 2012 16:53:24 +0000 (UTC) Received: (qmail 66201 invoked by uid 500); 15 Feb 2012 16:53:24 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 66155 invoked by uid 500); 15 Feb 2012 16:53:24 -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 66148 invoked by uid 99); 15 Feb 2012 16:53:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 16:53:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 16:53:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DBC8E1B95B6 for ; Wed, 15 Feb 2012 16:52:59 +0000 (UTC) Date: Wed, 15 Feb 2012 16:52:59 +0000 (UTC) From: "Aleks M (Commented) (JIRA)" To: dev@directory.apache.org Message-ID: <422874519.41103.1329324779901.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1647983170.39536.1329293519699.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DIRSTUDIO-777) Troube renaming entry when using Apache LDAP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSTUDIO-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208577#comment-13208577 ] Aleks M commented on DIRSTUDIO-777: ----------------------------------- Yes it's the same behaviour. Both renames work. > Troube renaming entry when using Apache LDAP API > ------------------------------------------------ > > Key: DIRSTUDIO-777 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-777 > Project: Directory Studio > Issue Type: Bug > Affects Versions: 2.0.0-M2 > Environment: Windows 7 SP1 64-bit > Reporter: Aleks M > > Another thing that happens only with the Apache LDAP API. > If I against my eDirectory want to perform a rename on an entry with F2. > If the object is named manuell1000-setla1 and I want to rename it to manuell1000-SETLA1 > I.e. I'm only changing the case the I get this error when using the Apache API: > Error while renaming entry > - [LDAP: error code 68 - NDS error: entry already exists (-606)] > java.lang.Exception: [LDAP: error code 68 - NDS error: entry already exists (-606)] > at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkResponse(DirectoryApiConnectionWrapper.java:1259) > at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.access$500(DirectoryApiConnectionWrapper.java:107) > at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$5.run(DirectoryApiConnectionWrapper.java:845) > at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1161) > at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1095) > at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.renameEntry(DirectoryApiConnectionWrapper.java:867) > at org.apache.directory.studio.ldapbrowser.core.jobs.RenameEntryRunnable.renameEntry(RenameEntryRunnable.java:306) > at org.apache.directory.studio.ldapbrowser.core.jobs.RenameEntryRunnable.run(RenameEntryRunnable.java:165) > at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:109) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) > [LDAP: error code 68 - NDS error: entry already exists (-606)] > If I switch to JNDI and perform the exact same operation I get no error, it renames the entry. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira