directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claudia S (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-266) ResultCodeEnum 'NO_SUCH_OBJECT' should have message 'noSuchObject'
Date Tue, 16 Feb 2016 19:21:18 GMT

    [ https://issues.apache.org/jira/browse/DIRAPI-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15149138#comment-15149138
] 

Claudia S commented on DIRAPI-266:
----------------------------------

Thanks for the prompt fix. I quickly tested with the latest trunk and it now works like a
charm.

> ResultCodeEnum 'NO_SUCH_OBJECT' should have message 'noSuchObject'
> ------------------------------------------------------------------
>
>                 Key: DIRAPI-266
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-266
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M33
>            Reporter: Claudia S
>            Priority: Minor
>             Fix For: 1.0.0-M34
>
>
> According to [RFC2251|https://www.ietf.org/rfc/rfc2251.txt]  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}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message