You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2014/07/03 22:00:33 UTC
[jira] [Updated] (QPID-5874) C++ broker has odd treatment of empty
and whitespace only selectors
[ https://issues.apache.org/jira/browse/QPID-5874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Stitcher updated QPID-5874:
----------------------------------
Labels: selectors (was: )
> 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