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 09:09:53 UTC
[jira] [Updated] (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 updated DIRAPI-229:
-------------------------------------
Affects Version/s: 1.0.0-M29
> 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)