qpid-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/QPID-5874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Stitcher resolved QPID-5874.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.29

> 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
>             Fix For: 0.29
>
>
> 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