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

2021-10-18 Thread Kim van der Riet (Jira)


 [ 
https://issues.apache.org/jira/browse/QPIDIT-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kim van der Riet updated QPIDIT-141:

Fix Version/s: 0.3.0

> 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.2.0
>Reporter: Kim van der Riet
>Assignee: Kim van der Riet
>Priority: Major
> Fix For: 0.3.0
>
>
> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



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

2020-06-19 Thread Kim van der Riet (Jira)


 [ 
https://issues.apache.org/jira/browse/QPIDIT-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kim van der Riet updated QPIDIT-141:

Affects Version/s: (was: 0.1.0)
   0.2.0

> 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.2.0
>Reporter: Kim van der Riet
>Assignee: Kim van der Riet
>Priority: Major
>
> 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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org