[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208569#comment-13208569
 ] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-777:
--------------------------------------------------

Hi Aleks,

Thanks for the confirmation.
Does it fix both renaming issues?

Regarding the jump back and forth between the entry in the search and the entry 
in the DIT, it's probably an issue due too many update UI events being sent.
I guess the behavior is exactly the same whether you're using the LDAP API or 
JNDI, right?

I will have a look at that too.
                
> 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

        

Reply via email to