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

ResultCodeEnum 'NO_SUCH_OBJECT' should have message 'noSuchObject'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.0-M33
    • 1.0.0-RC1
    • None

    Description

      According to RFC2251 the result code for error 32 is 'noSuchObject'.

      org.apache.directory.api.ldap.model.message.ResultCodeEnum currently defines:
      NO_SUCH_OBJECT(32, "NO_SUCH_OBJECT")
      instead of:
      NO_SUCH_OBJECT(32, "noSuchObject")

      I'm using DSMLv2 and JaxB and the issue I face is when receiving this error the result code cannot be unmarshalled into the corresponding Java enum type LDAPResultCode.

      Attachments

        Activity

          People

            Unassigned Unassigned
            clauds2x Claudia S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: