Issue Details (XML | Word | Printable)

Key: DIRSERVER-258
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Emmanuel Lecharny
Reporter: Giamma
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

NormalizationService is not handling correctly a Name with a comma followed by a space in it: for instance "text1, text2"

Created: 19/Nov/05 08:20 AM   Updated: 21/Apr/07 11:19 AM
Return to search
Component/s: None
Affects Version/s: pre-1.0
Fix Version/s: 1.5.0

Time Tracking:
Not Specified

File Attachments:
  Size
File Direct Report View.ldif 2005-11-19 09:39 AM Giamma 2 kB
Environment: XP

Resolution Date: 01/Jul/06 03:38 PM


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.