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 01:18:53 UTC

[jira] [Commented] (DIRAPI-228) LdifReader lowercases all attribute types

    [ https://issues.apache.org/jira/browse/DIRAPI-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14386010#comment-14386010 ] 

Emmanuel Lecharny commented on DIRAPI-228:
------------------------------------------

Agreed, this is problematic, as we lose the initial value, which should not be the case.

> LdifReader lowercases all attribute types
> -----------------------------------------
>
>                 Key: DIRAPI-228
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-228
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M29
>            Reporter: Stefan Seelmann
>            Priority: Minor
>
> LdifReader line 985:
> {noformat}
> String attributeType = Strings.toLowerCase( line )...
> {noformat}
> I encountered that issue when using the @ApplyLdifFiles (happens also with @ApplyLdifs) within an test. Attribute types like objectClass or givenName are then stored and returned in lowercase.
> This seems not to be a problem when used from the client, on the server side (I guess within the interceptor chain) this is fixed.



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