directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRAPI-229) The LdifParser lowrcase attributeType
Date Mon, 30 Mar 2015 09:28:53 GMT

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

Emmanuel Lecharny resolved DIRAPI-229.
--------------------------------------
    Resolution: Fixed

Fixed with http://svn.apache.org/r1670024

> The LdifParser lowrcase attributeType
> -------------------------------------
>
>                 Key: DIRAPI-229
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-229
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M29
>            Reporter: Emmanuel Lecharny
>             Fix For: 1.0.0-M30
>
>
> The LdifReader class lowercases the AtributeType during the parsing  :
> {code}
>     public static Attribute parseAttributeValue( String line )
>     {
>         int colonIndex = line.indexOf( ':' );
>         if ( colonIndex != -1 )
>         {
>             String attributeType = Strings.toLowerCase( line ).substring( 0, colonIndex
);
> {code}
> We then lose the original user provided AttributeType, which is not expected



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message