Issue Details (XML | Word | Printable)

Key: DIRSERVER-193
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Alex Karasulu
Reporter: Jacob S. Barrett
Votes: 0
Watchers: 1
Operations

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

Search request BER parser incorrectly parses complex filters.

Created: 25/Mar/05 07:44 AM   Updated: 21/Apr/07 11:08 AM
Return to search
Component/s: ldap
Affects Version/s: pre-1.0
Fix Version/s: pre-1.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works AND-OR-2.patch 2005-03-26 01:37 AM Jacob S. Barrett 2 kB
Text File Licensed for inclusion in ASF works AND-OR.patch 2005-03-25 11:14 AM Jacob S. Barrett 4 kB
Environment: NA

Resolution Date: 25/Mar/05 12:29 PM


 Description  « Hide
Using the following search from an LDAP client, like Softera's browser or OpenLDAP's ldapsearch, search for something like the following filter:

(& (a=A) (| (b=B) (c=C) ) )

The resulting expression object after the BER parser is finished is:

(& (| (c=C) (b=B) (a=A) ) )

This is obviously not the correct expression and results in bobus results.

I thought at first it might have been the expression object serializing to a string form that had issue, but passing the same filter string through the commons.filter.FilterParserImpl produces the correct expression object and the correct serialized string.

I am attempting to debug the problem further. If I can produce a patch I will post it, but if someone has a better idea of what is going please tackle this.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alex Karasulu made changes - 25/Mar/05 08:29 AM
Field Original Value New Value
Fix Version/s 0.9.0 [ 11004 ]
Priority Major [ 3 ] Blocker [ 1 ]
Alex Karasulu made changes - 25/Mar/05 08:37 AM
Status Open [ 1 ] In Progress [ 3 ]
Jacob S. Barrett made changes - 25/Mar/05 11:14 AM
Attachment AND-OR.patch [ 19371 ]
Alex Karasulu made changes - 25/Mar/05 12:29 PM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Jacob S. Barrett made changes - 26/Mar/05 01:37 AM
Attachment AND-OR-2.patch [ 19381 ]
Alex Karasulu made changes - 07/Feb/06 02:41 PM
Fix Version/s 0.9.0 [ 11004 ]
Component/s ldap [ 12310715 ]
Affects Version/s 0.9.0 [ 11004 ]
Fix Version/s pre-1.0 [ 12310782 ]
Affects Version/s pre-1.0 [ 12310782 ]
Key DIRLDAP-38 DIRSERVER-193
Component/s Common [ 11085 ]
Project Directory LDAP [ 10514 ] ApacheDS [ 12310260 ]
Emmanuel Lecharny made changes - 21/Apr/07 11:08 AM
Status Resolved [ 5 ] Closed [ 6 ]