From dev-return-13715-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Mon Oct 02 13:17:29 2006 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 43208 invoked from network); 2 Oct 2006 13:17:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Oct 2006 13:17:25 -0000 Received: (qmail 10633 invoked by uid 500); 2 Oct 2006 13:17:18 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 10555 invoked by uid 500); 2 Oct 2006 13:17:17 -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 10377 invoked by uid 99); 2 Oct 2006 13:17:16 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Oct 2006 06:17:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:45996] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 41/D9-16499-D4111254 for ; Mon, 02 Oct 2006 06:17:05 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 67D05714312 for ; Mon, 2 Oct 2006 06:16:00 -0700 (PDT) Message-ID: <2778370.1159794960422.JavaMail.root@brutus> Date: Mon, 2 Oct 2006 06:16:00 -0700 (PDT) From: "Stefan Zoerner (JIRA)" To: dev@directory.apache.org Subject: [jira] Closed: (DIRSERVER-636) Performing two modifications on a single attribute within a single modify operation fails. In-Reply-To: <3211096.1149683970006.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-636?page=all ] Stefan Zoerner closed DIRSERVER-636. ------------------------------------ I have retested this with the current 1.0 version of ApacheDS. Works fine, thus I close this issue. Thanks Emmanuel! > Performing two modifications on a single attribute within a single modify operation fails. > ------------------------------------------------------------------------------------------ > > Key: DIRSERVER-636 > URL: http://issues.apache.org/jira/browse/DIRSERVER-636 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.0-RC3 > Environment: ApacheDS 1.0 RC 3 > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05) > Microsoft Windows XP version 5.1 Service Pack 1 > Reporter: Stefan Zoerner > Assigned To: Emmanuel Lecharny > Attachments: ModifyOpsTest.java > > > Performing two modifications on a single attribute within a single modify operation fails. > After creating an entry like this: > dn: cn=Kate Bush,dc=example,dc=com > objectclass: person > objectclass: top > sn: Bush > cn: Kate Bush > e.g. > $ ldapmodify -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -a -f KateBush.ldif > adding new entry cn=Bush\, Kate,dc=example,dc=com > I perform a modify operation with two modification items: > dn: cn=Kate Bush,dc=example,dc=com > changetype: modify > add: description > description: Kate Bush is a British singer-songwriter. > description: She has become one of the most influential female artists of the twentieth century. > - > delete: description > description: She has become one of the most influential female artists of the twentieth century. > which results in an error: > $ ldapmodify -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -f twoModifications.ldif > modifying entry cn=Kate Bush,dc=example,dc=com > ldap_modify: No such attribute > ldap_modify: additional info: failed to modify entry cn=Kate Bush,dc=example,dc=com > The expected result is to perform both modification items within a single transaction, resulting in an entry like this: > dn: cn=Kate Bush,dc=example,dc=com > objectclass: person > objectclass: top > sn: Bush > cn: Kate Bush > description: Kate Bush is a British singer-songwriter. > Find an equivalent JNDI JUnit test case attached. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira