[ https://issues.apache.org/jira/browse/DIRSTUDIO-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208481#comment-13208481 ]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-777: -------------------------------------------------- +1 Emmanuel. Thanks Aleks for all your reports! I think I have found the issue. It was probably a wrong use of the API (which doesn't need to be fixed). Aleks, could you please try to reproduce the issue with this SNAPSHOT version? http://people.apache.org/~pamarcelot/ApacheDirectoryStudio-win32-x86_64-2.0.0-SNAPSHOT.zip Thanks! > 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