04-21-07 12:11 PM
[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-844.
---------------------------------------
> Storing byte[] values for textual AT is possible even if not allowed
> --------------------------------------------------------------------
>
> Key: DIRSERVER-844
> URL: https://issues.apache.org/jira/browse/DIRSERVER-844
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.0.1, 1.5.0
> Reporter: Emmanuel Lecharny
> Fix For: 1.0.1, 1.5.0
>
>
> If we pass a DN as a byte[] to the server (for instance, by importing a Ldif f
ile which contains an base64 encoded value), the server stores the value as a byte
91;] instead of transforming the value to a String before storing it. This is not go
od at all.
In case we have a H-R atttribute type, then we must assume that the value sh
ould be converted to a String, and if we get an invalid byte[], then we
must throw an exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[ Post a follow-up to this message ]
|