Kyrre created QPID-8674:
---------------------------

             Summary: Jms Selector Parsing - mulitple AND's
                 Key: QPID-8674
                 URL: https://issues.apache.org/jira/browse/QPID-8674
             Project: Qpid
          Issue Type: Bug
          Components: Broker-J
    Affects Versions: qpid-java-broker-9.2.0
            Reporter: Kyrre
         Attachments: selectorSyntax.patch

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.

[^selectorSyntax.patch]

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to