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/10 10:59:38 UTC

[jira] [Resolved] (DIRAPI-107) LdifReader missing attributes

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

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

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

We now set the HR flag accordingly to the first seen value, and convert the bytes too.

> LdifReader missing attributes
> -----------------------------
>
>                 Key: DIRAPI-107
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-107
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M12
>         Environment: Linux
>            Reporter: Allen Zhao
>             Fix For: 1.0.0-M29
>
>
> {code}
> $ cat t.ldif
> dn: cn=DeviceTypes,cn=SDT,cn=prod_81,o=myconfiguration
> cn: DeviceTypes
> javaClassName: java.lang.String
> myconfigstringvalue: P:Phone (except BlackBerry)
> myconfigstringvalue:: WjpCbGFja0JlcnJ5w4LCrg==
> myconfigstringvalue: 3:Internet only device
> objectClass: top
> objectClass: javaobject
> objectClass: myconfigstringvaluedobject
> {code}
> Code:
> {code}
> LdifReader lr = new LdifReader(fileName);
> while (lr.hasNext()) {
>     LdifEntry e = lr.next();
>     System.out.println(e.toString());
> }
> {code}
> The attribute "{{myconfigstringvalue:: WjpCbGFja0JlcnJ5w4LCrg==}}" missed.



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