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

Alan Conway edited comment on DISPATCH-146 at 7/7/15 9:02 PM:
--------------------------------------------------------------

I would guess this is a bug, gotta watch that sneaky python str/unicode/bytes 
mess. I will fix ASAP, should be trivial. My shame that the code has a bug is 
dwarfed by my joy that somebody is running it :)


was (Author: aconway):
I would guess this is a bug, gotta watch that sneaky python str/unicode/bytes 
mess. I will fix ASAP, should be trivial.

> management query sends non string keys
> --------------------------------------
>
>                 Key: DISPATCH-146
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-146
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Management Agent
>    Affects Versions: 0.4
>            Reporter: Andy Taylor
>            Assignee: Alan Conway
>            Priority: Minor
>             Fix For: 0.5
>
>
> Im not 100% sure this is a bug but when you run a command something like:
> qdmanage query -b url  --type linkRoutePattern
> the amqp message contains a map with the entry 'attributeNames' which 
> contains an entry where the key is a Binary. The spec says:
>  "The body of the message MUST consist of an amqp-value section containing a 
> map which MUST have the following entries, where all keys MUST be of type 
> string:"
> The reason i found this issue was by running the management client against 
> Artemis which produced a class cast exception on the server because of this.
> NB Artemis uses proton-jms to decode messages so if its a not a bug then the 
> proton-j decoder will need fixing



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to