You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Kim van der Riet (Jira)" <ji...@apache.org> on 2020/06/19 15:50:00 UTC

[jira] [Created] (QPIDIT-141) Incorrect handling of binary types

Kim van der Riet created QPIDIT-141:
---------------------------------------

             Summary: Incorrect handling of binary types
                 Key: QPIDIT-141
                 URL: https://issues.apache.org/jira/browse/QPIDIT-141
             Project: Apache QPID Interoperability Test Suite
          Issue Type: Bug
          Components: AMQP Types Test, JMS Headers and Properties Test, JMS Message Test
    Affects Versions: 0.1.0
            Reporter: Kim van der Riet
            Assignee: Kim van der Riet


When binary test values are sent using JSON to the shims, they are converted to strings, as JSON cannot handle binary values. With the conversion of QIT tests to Python 3, the encoding of binary to strings has become an issue (under Py2, binary and str were synonymous).

It is probably best that the binary be encoded into base64 and then converted to a string for use as a value in JSON. Each shim would then have to decode these values back to an appropriate binary value.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org