You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Zoerner (JIRA)" <ji...@apache.org> on 2006/08/20 21:43:15 UTC

[jira] Updated: (DIRSERVER-614) Server allows adding multiple values to a single valued attribute

     [ http://issues.apache.org/jira/browse/DIRSERVER-614?page=all ]

Stefan Zoerner updated DIRSERVER-614:
-------------------------------------

    Attachment: AddingMultipleValuesToSingleValuedAttributeTest.java

Here is the JUnit test as promised. It passes with Sun Java System Directory Server 5.2, IBM Tivoli Directory Server 6.0 (if another attribute type is used) and OpenLDAP 2.3. It passes with Apache Directory Server 1.0 RC4 as well, because it allows RC 19 -- InvalidAttributeValueException, which was the decision of OpenLDAP. 

> 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
>         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