activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5281) Incorrect handling of unknown values in selectors
Date Fri, 22 Aug 2014 19:02:11 GMT

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

ASF GitHub Bot commented on AMQ-5281:
-------------------------------------

Github user traylz closed the pull request at:

    https://github.com/apache/activemq/pull/44


> Incorrect handling of unknown values in selectors
> -------------------------------------------------
>
>                 Key: AMQ-5281
>                 URL: https://issues.apache.org/jira/browse/AMQ-5281
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.8.0, 5.x
>            Reporter: Grigroy Sobko
>            Assignee: Timothy Bish
>             Fix For: 5.11.0
>
>
> Due to JmsMessage specification :
> http://docs.oracle.com/javaee/1.4/api/javax/jms/Message.html
> There are rules how unknown Values evaluates. 
> I found 4 violations of specificatoion:
> 1) Equals expression "=".
> "unknownProp = 0" should evaluate to UNKNOWN.
> In AMQ it evaluates to FALSE instead.
> 2) Not equals expression "<>".
> "unknownProp <> 0" should evaluate to UNKNOWN, it evaluates to FALSE instead.
> 3) Or expression "or".
> "unknown or false" should evaluate to UNKNOWN. It evaluates to FALSE instead.
> 4) And expression "and".
> "unknown and false" should evaluate to FALSE. It evaluates to UNKNOWN instead.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message