[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to