| Emmanuel Lecharny (JIRA) 2006-02-25, 5:45 pm |
| [ http://issues.apache.org/jira/brows...ER-258?page=all ]
Emmanuel Lecharny reopened DIRSERVER-258:
-----------------------------------------
Ok, this is a clear bug in the DN parser.
However, fixing it right now is something quite complcated. We already have a plain new DNParser, which is supposed to be faster and - I hope - has some fix for problem like this one.
The problem is that switching from the actual parser to the new one is not a simple matter. We are thinking about it for 1.1.
I think that as soon as one can fetch something like "o=organization\, test" and get back "o=organization,test" without space, then you may consider it as half satisfactory. There is not a lot of people out there who use a ',' in a DN.
Not that it's not a serious bug, but this is the kind of bug we want to fix a little bit latter, because it's nor urgent.
However, thanks a lot for being so tenacious, and be sure that we are doing our best to deliver a fix soon !
> NormalizationService is not handling correctly a Name with a comma followed by a space in it: for instance "text1, text2"
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: DIRSERVER-258
> URL: http://issues.apache.org/jira/browse/DIRSERVER-258
> Project: Directory ApacheDS
> Type: Bug
> Versions: pre-1.0
> Environment: XP
> Reporter: Giamma
> Assignee: Alex Karasulu
> Fix For: 1.0-RC1
> Attachments: Direct Report View.ldif
>
> In my custom partition I have organizations with various special characters in their name, for instance:
> "text1=text2"
> "text1 text2"
> "text1,text2"
> The 3 above all work fine.
> But the following won't be normilized correctly:
> "text1= text2"
> "text2, text2"
> They are normilized by NormalizationService.search or NormalizationService.hasEntry as this:
> "text1= text2" --> "text1=text2"
> "text2, text2" --> "text1,text2"
> The space after the = or the , are skipped.
> I think the code doing this is coming from antrl.
> I tried using the latest 2.7.5 but the problem is still there.
> I think the actual class with the bug is LLKParser.
> I didn't download the code so i am not sure what's wrong.
> I believe this is a regression as the same test case used to work with a previous
> version of apache DS.
> Let me know if you need anything more from me.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|