directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Commented: (DIRSERVER-614) Server allows adding multiple values to a single valued attribute
Date Thu, 17 Aug 2006 08:45:15 GMT
    [ ] 
Emmanuel Lecharny commented on DIRSERVER-614:

Ersin, not sure it's necessary to clone the entry before doing the modification. As you are
trying to change the entry, and then check that each attribute has the correct number of value
(ie, 1 or many), if you get an error, you will just discard the entry, and throw an exception,
thus cloning is not really necessary : either the entry is correct, and you will update it,
or it's incorrect, and you will ditch it.

wdyt ?

> Server allows adding multiple values to a single valued attribute
> -----------------------------------------------------------------
>                 Key: DIRSERVER-614
>                 URL:
>             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
> 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:
For more information on JIRA, see:


View raw message