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

LdifReader should handle empty entries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-M11
    • 1.0.0-M21
    • None

    Description

      A simple LDIF file containing 3 entries is rejected by LDIFParser:

      dn: uid=uniqueId, dc=domain

      dn: uid=uniqueId2, dc=domain

      dn: uid=uniqueId3, dc=domain

      I don't see any issue in this LDIF. Parser should return 3 entries with no attribute.
      With M11, the error is the following:
      ERROR - ERR_12058_UNKNOWN_ENTRY_TYPE Unknown entry type
      ERROR - ERR_12058_UNKNOWN_ENTRY_TYPE Unknown entry type
      ERROR - ERR_12069 Cannot parse the ldif buffer : ERR_12059_UNKNOWN_ENTRY Unknown entry
      ERROR - ERR_12069 Cannot parse the ldif buffer : ERR_12059_UNKNOWN_ENTRY Unknown entry

      If I add an attribute to each entry, I get no more error.

      Attachments

        Activity

          People

            elecharny Emmanuel L├ęcharny
            rouazana Raphael Ouazana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: