Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-614

Server allows adding multiple values to a single valued attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-RC1, 1.0-RC2
    • 1.0-RC4, 1.5.0
    • None
    • None
    • Apache Directory Server 1.0 RC2
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
      Windows XP-SP2

    Description

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

      Attachments

        Activity

          People

            ersiner Ersin Er
            szoerner Stefan Zoerner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: