Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 20187 invoked from network); 20 Aug 2006 20:00:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Aug 2006 20:00:39 -0000 Received: (qmail 89924 invoked by uid 500); 20 Aug 2006 20:00:38 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 89889 invoked by uid 500); 20 Aug 2006 20:00:38 -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 89878 invoked by uid 99); 20 Aug 2006 20:00:38 -0000 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; Sun, 20 Aug 2006 13:00:38 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 50A0D41000E for ; Sun, 20 Aug 2006 19:57:15 +0000 (GMT) Message-ID: <9004095.1156103835327.JavaMail.jira@brutus> Date: Sun, 20 Aug 2006 12:57:15 -0700 (PDT) From: "Ersin Er (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIRSERVER-614) Server allows adding multiple values to a single valued attribute In-Reply-To: <14020631.1146659986342.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-614?page=all ] Ersin Er resolved DIRSERVER-614. -------------------------------- Fix Version/s: 1.1.0 1.0-RC4 Resolution: Fixed > Server allows adding multiple values to a single valued attribute > ----------------------------------------------------------------- > > Key: DIRSERVER-614 > URL: http://issues.apache.org/jira/browse/DIRSERVER-614 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.0-RC1, 1.0-RC2 > Environment: Apache Directory Server 1.0 RC2 > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08) > Windows XP-SP2 > Reporter: Stefan Zoerner > Assigned To: Ersin Er > Fix For: 1.1.0, 1.0-RC4 > > Attachments: AddingMultipleValuesToSingleValuedAttributeTest.java > > > The server allows the creation of entries, in which single-valued-attributes (single-valued according to the schema) have more than one value. > For instance, the addition of the following entry is possible: > dn: cn=Fiona Apple,dc=example,dc=com > objectclass: top > objectclass: person > objectclass: organizationalPerson > objectclass: inetOrgPerson > cn: Fiona Apple > sn: Apple > displayname: Fiona Apple > displayname: F. Apple > displayname (from inetOrgPerson) is single-valued in the schema. Thus the creation of this entry should not be possible (Schema Violation). Checks are missing both for entry creation (add op) and entry modification (modify op). -- 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