Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-107

LdifReader missing attributes

Attach filesAttach ScreenshotWatch issueCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0-M12
    • 1.0.0-M29
    • None
    • Linux

    Description

      $ 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            allen.zhao@telus.com Allen Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment