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

LdifReader changetype: modify add modifications attribute ID comparisons need to be case insensitive.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1
    • None
    • None

    Description

      dn: dc=example,dc=com
      changetype: modify
      add: administrativeRole
      administrativeRole: accessControlSpecificArea

      doesn't work because ldif reader lowercases the attr Id from the last line and compares it to the non-lowercased attrId from the add line.

      After some discussion on IRC I think everyone agreed that:
      the comparison between the attriDs should be case insensitive
      the modification item generated should use the attrId from the add: line

      The last rule is intended to make future handing of something like:

      dn: dc=example,dc=com
      changetype: modify
      add: CN
      cn: foo
      Cn: Bar
      cN: baZ
      CN: ummm

      all fit into one ModificationItem. Right now LdifReader is generating one modificationItem for each line with an attribute.

      Attachments

        Activity

          People

            djencks David Jencks
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: