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

We can't inject entries with attributes containing a null value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M18
    • Fix Version/s: 1.0.0-M20
    • Labels:
      None

      Description

      If we try to add a new entry which has a userPassword or a mail attribute, with a null value (whch is legal, as their syntax are respectively OctetString or IA5String), we get an error due to an internal NPE in the encoding of those values.

      Fixing this NPE make the entry to be correctly added into the server.

        Attachments

          Activity

            People

            • Assignee:
              elecharny Emmanuel Lecharny
              Reporter:
              elecharny Emmanuel Lecharny
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: