Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 57810 invoked from network); 12 Sep 2005 15:44:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Sep 2005 15:44:35 -0000 Received: (qmail 40583 invoked by uid 500); 12 Sep 2005 15:44:33 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 40542 invoked by uid 500); 12 Sep 2005 15:44:33 -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 40529 invoked by uid 99); 12 Sep 2005 15:44:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Sep 2005 08:44:33 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 54FB429D for ; Mon, 12 Sep 2005 17:44:32 +0200 (CEST) Message-ID: <448776128.1126539872345.JavaMail.jira@ajax.apache.org> Date: Mon, 12 Sep 2005 17:44:32 +0200 (CEST) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIREVE-241) Adding an already existing attribute value with a modify operation does not cause an error. In-Reply-To: <37401576.1125525546023.JavaMail.jira@ajax.apache.org> 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/DIREVE-241?page=all ] Alex Karasulu updated DIREVE-241: --------------------------------- Version: 0.9.2 (was: 0.9.3) > Adding an already existing attribute value with a modify operation does not cause an error. > ------------------------------------------------------------------------------------------- > > Key: DIREVE-241 > URL: http://issues.apache.org/jira/browse/DIREVE-241 > Project: Directory Server > Type: Bug > Versions: 0.9.2 > Reporter: Stefan Zoerner > Assignee: Alex Karasulu > Fix For: 0.9.3 > Attachments: ModifyAddTest.java > > If you try to add an attribute value which is already present within the entry, no error occurs. > After the execution of the modify operation, the value appears twice in the entry instead. > As a consequence, it is possible for instance to create an entry like this: > --- > dn: cn=Stefan Zoerner,ou=users,ou=system > sn: Zoerner > objectClass: top > objectClass: top > objectClass: person > cn: Stefan Zoerner > --- > Expected behavior is error code 20, which indicates that the attribute value specified in a modify or add operation already exists as a value for that attribute. > I will add a test case as usual which demonstrates the bug with a person entry. -- 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