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.

        Activity

        Hide
        elecharny Emmanuel Lecharny added a comment -

        The pb has been fixed for AddRequest.

        I'm checking the ModifyRequest now.

        Show
        elecharny Emmanuel Lecharny added a comment - The pb has been fixed for AddRequest. I'm checking the ModifyRequest now.
        Hide
        elecharny Emmanuel Lecharny added a comment -
        Show
        elecharny Emmanuel Lecharny added a comment - Fixed with http://svn.apache.org/r1496650
        Hide
        elecharny Emmanuel Lecharny added a comment -

        Closing the resolved issues.

        Show
        elecharny Emmanuel Lecharny added a comment - Closing the resolved issues.

          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:

              Development