directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSHARED-139) LdifReader missing attributes
Date Wed, 17 Oct 2012 16:24:04 GMT
Allen Zhao created DIRSHARED-139:
------------------------------------

             Summary: LdifReader missing attributes
                 Key: DIRSHARED-139
                 URL: https://issues.apache.org/jira/browse/DIRSHARED-139
             Project: Directory Shared
          Issue Type: Bug
    Affects Versions: 1.0.0-M12
         Environment: Linux
            Reporter: Allen Zhao


$ 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:
LdifReader lr = new LdifReader(fileName);
while (lr.hasNext()) {
    LdifEntry e = lr.next();
    System.out.println(e.toString());
}

The attribute "myconfigstringvalue:: WjpCbGFja0JlcnJ5w4LCrg==" missed.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message