You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "jiraposter@reviews.apache.org (JIRA)" <ji...@apache.org> on 2011/04/06 13:34:05 UTC

[jira] [Commented] (QPID-3190) qpid-tool does not allow numeric strings to be passed as strings

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

jiraposter@reviews.apache.org commented on QPID-3190:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/552/
-----------------------------------------------------------

Review request for Ted Ross.


Summary
-------

Simply detect tokens starting with one of the quoting chars and always eval them.


This addresses bug QPID-3190.
    https://issues.apache.org/jira/browse/QPID-3190


Diffs
-----

  /trunk/qpid/tools/src/py/qpid-tool 1088930 

Diff: https://reviews.apache.org/r/552/diff


Testing
-------


Thanks,

Gordon



> qpid-tool does not allow numeric strings to be passed as strings
> ----------------------------------------------------------------
>
>                 Key: QPID-3190
>                 URL: https://issues.apache.org/jira/browse/QPID-3190
>             Project: Qpid
>          Issue Type: Bug
>          Components: python tools
>    Affects Versions: 0.10
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>
> E.g. if you use the echo method on broker and want to send a body containing the string '1234' you cannot do so. If you quote the string the quotes get included in the argument, of you don't quote it gets converted to an integer and you get a type conversion error back.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org