directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1029) LdifReader changetype: modify add modifications attribute ID comparisons need to be case insensitive.
Date Thu, 23 Aug 2007 00:16:30 GMT
LdifReader changetype: modify add modifications attribute ID comparisons need to be case insensitive.
-----------------------------------------------------------------------------------------------------

                 Key: DIRSERVER-1029
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1029
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.5.0
            Reporter: David Jencks
            Assignee: David Jencks
             Fix For: 1.5.1


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message