You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2013/06/14 18:02:20 UTC

[jira] [Resolved] (DIRSTUDIO-914) Importing an LDIF with a schema twice leads to "LDAP: error code 53 - UNWILLING_TO_PERFORM" although "Update existing items" was checked

     [ https://issues.apache.org/jira/browse/DIRSTUDIO-914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot resolved DIRSTUDIO-914.
----------------------------------------------

    Resolution: Not A Problem
      Assignee: Pierre-Arnaud Marcelot

Actually this is not an issue in Apache Directory Studio but rather in ApacheDS which rejects the modifications on the "syntaxcheckers" entry.

You might want to raise a JIRA in DIRSERVER if the problem still exists.
                
> Importing an LDIF with a schema twice leads to "LDAP: error code 53 - UNWILLING_TO_PERFORM" although "Update existing items" was checked
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-914
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-914
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M6 (2.0.0.v20130308)
>         Environment: Mac OS X 10.8.3, Java7
>            Reporter: Konrad Windszus
>            Assignee: Pierre-Arnaud Marcelot
>         Attachments: demo-schema.ldif
>
>
> Import the attached LDIF twice and for the second import select "Update existing items". The second import fails with this exception
> {code}
> Error while importing LDIF
>  - [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for MessageType : MODIFY_REQUES
> java.lang.Exception: [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for MessageType : MODIFY_REQUEST
> Message ID : 46
>     Modify Request
>         Object : 'ou=syntaxCheckers,cn=demo,ou=schema'
>             Modification[0]
>                 Operation :  replace
>                 Modification
> objectclass: top
> objectclass: organizationalUnit
>             Modification[1]
>                 Operation :  replace
>                 Modification
> ou: syntaxcheckers
> org.apache.directory.api.ldap.model.message.ModifyRequestImpl@f7eff827: null]
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkResponse(DirectoryApiConnectionWrapper.java:1279)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.access$600(DirectoryApiConnectionWrapper.java:109)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$4.run(DirectoryApiConnectionWrapper.java:725)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1174)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1108)
> 	at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.modifyEntry(DirectoryApiConnectionWrapper.java:747)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdifRecord(ImportLdifRunnable.java:474)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdif(ImportLdifRunnable.java:272)
> 	at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.run(ImportLdifRunnable.java:218)
> 	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 53 - UNWILLING_TO_PERFORM: failed for MessageType : MODIFY_REQUEST
> Message ID : 46
>     Modify Request
>         Object : 'ou=syntaxCheckers,cn=demo,ou=schema'
>             Modification[0]
>                 Operation :  replace
>                 Modification
> objectclass: top
> objectclass: organizationalUnit
>             Modification[1]
>                 Operation :  replace
>                 Modification
> ou: syntaxcheckers
> org.apache.directory.api.ldap.model.message.ModifyRequestImpl@f7eff827: null]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira