Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
qpid-java-broker-9.2.0
-
None
Description
When parsing a selector with 3 boolean expressions AND'ed together, the last expression is not taken into account.
I have attached a patch file from the latest Github version of the main branch to demostrate the problem.
In short, having a selector that evaluates (trueExpression) AND (trueExpression) AND (falseExpression) evaluates to TRUE.
Patch of JMSSelectorFilterSyntaxTest.java below.