directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-832) Added Attributes are all case sensitive
Date Tue, 01 Jun 2010 14:56:43 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pierre-Arnaud Marcelot updated DIRSERVER-832:
---------------------------------------------

    Fix Version/s: 2.0.0-RC1
                       (was: 2.0.0)

Moving issue to 2.0.0-RC1.

> Added Attributes are all case sensitive
> ---------------------------------------
>
>                 Key: DIRSERVER-832
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-832
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.0, 1.0
>            Reporter: Emmanuel Lecharny
>            Assignee: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 2.0.0-RC1
>
>
> The server is working, but this is pure luck !
> When we add some attribute, like ObjectClass, the values are added into it caseSensitive.
> For instance, adding 'person' and 'PERSON' is just adding two values into the attribute.
> So far, so good. Now, we have many places in the server where wo do case sensitive comparizon
on suposely case insensitive values (like for objectclasses). For instance, in SchemService
:
> ...
>     private int getSubentryTypes( Attributes subentry ) throws NamingException
>     {
>         int types = 0;
>         
>         Attribute oc = subentry.get( "objectClass" );
>         
>         if ( oc.contains( "accessControlSubentry" ) ) <<<--------------- This
is DAMN WRONG !!!
> ...
> At this point, I suspect the 1.0.0 version is not amendable. We must fix it in 1.5, using
the MatchingRules to manage comparizons on attributes.
> I hope I'm totally wrong, but I'm really scared... It looks like you go to the doctor
wor that little red spot on your skin, and it turns out you have a hopeless cancer ...

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