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 7C1BF10E11 for ; Fri, 14 Jun 2013 22:25:21 +0000 (UTC) Received: (qmail 47097 invoked by uid 500); 14 Jun 2013 22:25:21 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 46951 invoked by uid 500); 14 Jun 2013 22:25:20 -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 46941 invoked by uid 99); 14 Jun 2013 22:25:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2013 22:25:20 +0000 Date: Fri, 14 Jun 2013 22:25:20 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRSERVER-1859) Importing an LDIF with a schema twice leads to "LDAP: error code 53 - UNWILLING_TO_PERFORM" although "Update existing items" was checked 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/DIRSERVER-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683859#comment-13683859 ] Emmanuel Lecharny commented on DIRSERVER-1859: ---------------------------------------------- There is no technical reason but the complexity of having such a feature : implementing the Modify operation on schema is complex, and we thought that it was enough - though minimal - to have at least the add and delete operation working fine. > Importing an LDIF with a schema twice leads to "LDAP: error code 53 - UNWILLING_TO_PERFORM" although "Update existing items" was checked > ---------------------------------------------------------------------------------------------------------------------------------------- > > Key: DIRSERVER-1859 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1859 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 2.0.0-M12 > Reporter: Konrad Windszus > Attachments: demo-schema.ldif > > > Issue was originally created in DIRSTUDIO-914 but it turned out to be a problem with the LDAP server itself: > ==== > 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