qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-2084) Cannot encode annotations types with nested Maps that differ from the annotation key type
Date Tue, 06 Aug 2019 22:57:00 GMT

    [ https://issues.apache.org/jira/browse/PROTON-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16901541#comment-16901541

ASF subversion and git services commented on PROTON-2084:

Commit 046afcef853ee0ccdf7a668e154f1232a3cc8218 in qpid-proton-j's branch refs/heads/master
from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-proton-j.git;h=046afce ]

PROTON-2084 Only use the key type restriction on top level Map keys

Don't apply the fixed key type to other Maps that are nested inside a
map with a key type retriction.

> Cannot encode annotations types with nested Maps that differ from the annotation key
> -----------------------------------------------------------------------------------------
>                 Key: PROTON-2084
>                 URL: https://issues.apache.org/jira/browse/PROTON-2084
>             Project: Qpid Proton
>          Issue Type: Task
>          Components: proton-j
>    Affects Versions: proton-j-0.33.1
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>            Priority: Major
>             Fix For: proton-j-0.34.0
> The MapType encoder has a fixed key type setting used to enforce the types of keys for
things like MessageAnnoations, DeliveryAnnotations that define Symbol type keys or ApplicationProperties
that use String keys.  The current code uses that fixed type in error when encoding nested
Maps within which causes the encode to fail if the nested map has a differing key type. 
The MapType encoder needs to ignore the fixed key type setting when encoding values of the
map entries. 

This message was sent by Atlassian JIRA

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

View raw message