[jira] Commented: (DIRSERVER-832) Added Attributes are all case
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Commented: (DIRSERVER-832) Added Attributes are all case




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Commented: (DIRSERVER-832) Added Attributes are all case  
Alex Karasulu (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-24-07 12:11 AM


[ https://issues.apache.org/jira/brow...action_12475442 ]

Alex Karasulu commented on DIRSERVER-832:
-----------------------------------------

This bug is still present.  The bug is not present in 1.0.1 but in 1.5.0 and
 should be fixed immediately because it's just annoying.  Here's a link to t
he test case that was added confirming the presence of the bug:

http://svn.apache.org/viewvc?view=rev&revision=511059



> 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
>         Assigned To: Alex Karasulu
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> 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 s
ensitive comparizon on suposely case insensitive values (like for objectclas
ses). For instance, in SchemService :
> ...
>     private int getSubentryTypes( Attributes subentry ) throws NamingExcep
tion
>     {
>         int types = 0;
>
>         Attribute oc = subentry.get( "objectClass" );
>
>         if ( oc.contains( "accessControlSubentry" ) ) <<<--------------- T
his is DAMN WRONG !!!
> ...
> At this point, I suspect the 1.0.0 version is not amendable. We must fix i
t 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 doc
tor wor that little red spot on your skin, and it turns out you have a hopeless canc
er ...

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:09 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register