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 subversion and git services (JIRA)" <ji...@apache.org> on 2016/06/13 15:13:21 UTC

[jira] [Commented] (QPID-7301) [Java Client] [Java Broker] JMS Selector parsing will not fail if a valid selector is followed by invalid text

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

ASF subversion and git services commented on QPID-7301:
-------------------------------------------------------

Commit 1748254 from [~godfrer] in branch 'java/trunk'
[ https://svn.apache.org/r1748254 ]

QPID-7301 : Fix JMS selector grammar to ensure it fails when an invalid syntax is used

> [Java Client] [Java Broker] JMS Selector parsing will not fail if a valid selector is followed by invalid text
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7301
>                 URL: https://issues.apache.org/jira/browse/QPID-7301
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Common
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>             Fix For: qpid-java-6.1
>
>
> A JMS Selector which has a valid stem followed by invalid data will not cause a failure, and the selector will be parsed an executed as if only the valid stem were present.
> For example the selector
> {code}
> a = 1 AMD  b = 2
> {code}
> will be treated as if the selector was
> {code}
> a = 1
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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