Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 72833 invoked from network); 10 Aug 2006 05:53:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2006 05:53:01 -0000 Received: (qmail 97634 invoked by uid 500); 10 Aug 2006 05:53:01 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 97590 invoked by uid 500); 10 Aug 2006 05:53:00 -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 97578 invoked by uid 99); 10 Aug 2006 05:53:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 22:53:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Aug 2006 22:53:00 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0748E7141F2 for ; Thu, 10 Aug 2006 05:50:15 +0000 (GMT) Message-ID: <2777140.1155189015027.JavaMail.jira@brutus> Date: Wed, 9 Aug 2006 22:50:15 -0700 (PDT) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Closed: (DIRSERVER-702) Trying to remove an attribute which is part of the RDN does not cause an error In-Reply-To: <28265370.1155065595475.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-702?page=all ] Alex Karasulu closed DIRSERVER-702. ----------------------------------- Fix Version/s: 1.1.0 1.0-RC4 Resolution: Fixed Committed fixes on revision 430261 for 1.0 branch and for 1.1 trunks committed fixes on revision 430262. > Trying to remove an attribute which is part of the RDN does not cause an error > ------------------------------------------------------------------------------ > > Key: DIRSERVER-702 > URL: http://issues.apache.org/jira/browse/DIRSERVER-702 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.0-RC4 > Environment: * ApacheDS 1.0 RC4 SNAPSHOT > * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) > * Windows XP Professional SP2 > Reporter: Stefan Zoerner > Assigned To: Alex Karasulu > Fix For: 1.1.0, 1.0-RC4 > > Attachments: RemovalOfRdnAttributeTest.java > > > If I create an entry like this > dn: cn=Kate Bush,dc=example,dc=com > objectclass: top > objectclass: person > cn: Kate Bush > sn: Bush > and try to remove the attribute cn via modify operation, no error occurs. The good thing is, that the entry keeps the same (no invalid entry appears). But the expected result is an error. To be more concrete, LDAP error code 67 - Not Allowed On RDN. I'll attach a JUnit test with JNDI, which demonstrates the problem. -- 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