Issue Details (XML | Word | Printable)

Key: DIRSERVER-192
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Van Nhu
Votes: 0
Watchers: 0
Operations

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

Error encoding PRESENCE filters

Created: 15/Dec/05 12:06 PM   Updated: 07/Feb/06 02:41 PM
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 patch_missing_break_after_case_PRESENCE.patch 2005-12-15 12:08 PM Van Nhu 3 kB
Environment:
Module: https://svn.apache.org/repos/asf/directory/shared/ldap/trunk
Subversion revision number: 356972

Resolution Date: 15/Dec/05 06:31 PM


 Description  « Hide
Missing a break statement after case( LeafNode.PRESENCE ): in the SearchRequestEncoder.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Van Nhu added a comment - 15/Dec/05 12:08 PM
The attached patch adds a missing break statement that causes errors when encoding PRESENCE filters.

Emmanuel Lecharny added a comment - 15/Dec/05 06:31 PM
Thanks a lot for the accurate report and patch ! I tested it an applied it immediatly.

I don't know if this is you or me who have to close the bug, but as the testcase is OK and as the patch is obviously correct, I have marked the bug as fixed.

The jar file will be deployed very soon.

Good work, man !

Van Nhu added a comment - 16/Dec/05 11:19 AM
tested and it works.