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 2015/03/30 11:28:53 UTC

[jira] [Resolved] (DIRAPI-229) The LdifParser lowrcase attributeType

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