You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/01/10 08:27:00 UTC

[jira] [Commented] (QPID-8674) [Broker-J] Jms Selector Parsing - multiple AND's

    [ https://issues.apache.org/jira/browse/QPID-8674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17911835#comment-17911835 ] 

ASF GitHub Bot commented on QPID-8674:
--------------------------------------

vavrtom merged PR #249:
URL: https://github.com/apache/qpid-broker-j/pull/249




> [Broker-J] Jms Selector Parsing - multiple 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
>            Priority: Major
>             Fix For: qpid-java-broker-9.2.1
>
>         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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org