You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2006/05/17 01:28:05 UTC

[jira] Created: (DIRSERVER-620) Internal attributes type like objectClass are case sensitive

Internal attributes type like objectClass are case sensitive
------------------------------------------------------------

         Key: DIRSERVER-620
         URL: http://issues.apache.org/jira/browse/DIRSERVER-620
     Project: Directory ApacheDS
        Type: Bug

    Versions: 1.0-RC3    
    Reporter: Emmanuel Lecharny
 Assigned to: Emmanuel Lecharny 
    Priority: Blocker


The attributeTypes are supposed to be case insensitive. Many operation in the server (like entry.get ( "objectClass" ) ) does not respect this constraint.

All static reference to attribute type in the code must be written in lower case, or at least operation (like the previous one) should lowercase the attributeType.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (DIRSERVER-620) Internal attributes type like objectClass are case sensitive

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRSERVER-620?page=all ]
     
Emmanuel Lecharny closed DIRSERVER-620:
---------------------------------------


Closed

> Internal attributes type like objectClass are case sensitive
> ------------------------------------------------------------
>
>          Key: DIRSERVER-620
>          URL: http://issues.apache.org/jira/browse/DIRSERVER-620
>      Project: Directory ApacheDS
>         Type: Bug

>     Versions: 1.0-RC3
>     Reporter: Emmanuel Lecharny
>     Assignee: Emmanuel Lecharny
>     Priority: Blocker

>
> The attributeTypes are supposed to be case insensitive. Many operation in the server (like entry.get ( "objectClass" ) ) does not respect this constraint.
> All static reference to attribute type in the code must be written in lower case, or at least operation (like the previous one) should lowercase the attributeType.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (DIRSERVER-620) Internal attributes type like objectClass are case sensitive

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRSERVER-620?page=all ]
     
Emmanuel Lecharny resolved DIRSERVER-620:
-----------------------------------------

    Resolution: Invalid

Of course, it was not a problem in  the 
ADS code, but in the code I just modified ;)

Always do :
Attributes attrs = new BasicAttributes ( true ); 

and not

Attributes attrs = new BasicAttributes (); 


> Internal attributes type like objectClass are case sensitive
> ------------------------------------------------------------
>
>          Key: DIRSERVER-620
>          URL: http://issues.apache.org/jira/browse/DIRSERVER-620
>      Project: Directory ApacheDS
>         Type: Bug

>     Versions: 1.0-RC3
>     Reporter: Emmanuel Lecharny
>     Assignee: Emmanuel Lecharny
>     Priority: Blocker

>
> The attributeTypes are supposed to be case insensitive. Many operation in the server (like entry.get ( "objectClass" ) ) does not respect this constraint.
> All static reference to attribute type in the code must be written in lower case, or at least operation (like the previous one) should lowercase the attributeType.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira