You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2007/08/23 02:16:30 UTC

[jira] Created: (DIRSERVER-1029) LdifReader changetype: modify add modifications attribute ID comparisons need to be case insensitive.

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.


[jira] Closed: (DIRSERVER-1029) LdifReader changetype: modify add modifications attribute ID comparisons need to be case insensitive.

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks closed DIRSERVER-1029.
-----------------------------------

    Resolution: Fixed

Fixed in rev 568785.

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