qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5874) C++ broker has odd treatment of empty and whitespace only selectors
Date Thu, 03 Jul 2014 20:26:34 GMT

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

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

Commit 1607739 from [~astitcher] in branch 'qpid/trunk'
[ https://svn.apache.org/r1607739 ]

QPID-5874: Treat all empty selectors sensibly

> C++ broker has odd treatment of empty and whitespace only selectors
> -------------------------------------------------------------------
>
>                 Key: QPID-5874
>                 URL: https://issues.apache.org/jira/browse/QPID-5874
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.28
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Minor
>              Labels: selectors
>
> The selector parser in the C++ broker treats empty selectors oddly:
> If the selector is a completely empty string : "" then the selector is treated as if
it was always true. However if the selector only contains white space : " " then this treated
as a parse error.
> These 2 cases are for all visible user purposes the same selector and so should have
the same behaviour.
> Probably the most logical behaviour is to make both these cases act as if the selector
was always true so that they are equivalent to the selector being entirely absent.



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

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


Mime
View raw message