You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2013/06/25 16:32:21 UTC

[jira] [Created] (DIRAPI-148) We can't inject entries with attributes containing a null value

Emmanuel Lecharny created DIRAPI-148:
----------------------------------------

             Summary: We can't inject entries with attributes containing a null value
                 Key: DIRAPI-148
                 URL: https://issues.apache.org/jira/browse/DIRAPI-148
             Project: Directory Client API
          Issue Type: Bug
            Reporter: Emmanuel Lecharny
            Priority: Critical
             Fix For: 1.0.0-RC1


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira