[ http://issues.apache.org/jira/browse/DIREVE-308?page=comments#action_12358045 ]
Giamma commented on DIREVE-308: ------------------------------- Well I am using my custom partition, which generates entries using some of our API to access our oracle DB, but I can give you a LDIF file with the organization who is having a problem. I will attach the file. the one with problems is: dn: ou=Corporate Category\, Operations,bsiViewName=direct report view The space after the "\," is somehow skipped. So when I click on that entry, hasEntry will fails because it will try to look for: "ou=corporate category\,operations,bsiViewName=direct report view" In my code when I search for "corporate category\,operations" I will not find the organization. > NormalizationService is not handling correctly a Name with a comma followed > by a space in it: for instance "text1, text2" > ------------------------------------------------------------------------------------------------------------------------- > > Key: DIREVE-308 > URL: http://issues.apache.org/jira/browse/DIREVE-308 > Project: Directory Server > Type: Bug > Components: server main > Versions: 0.9.3 > Environment: XP > Reporter: Giamma > Assignee: Alex Karasulu > 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/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
