You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2016/11/04 12:34:58 UTC

[jira] [Updated] (PROTON-894) ErrorCondition 'info' map should be typed to enforce required use of Symbol keys

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

Justin Ross updated PROTON-894:
-------------------------------
    Labels: api  (was: )

> ErrorCondition 'info' map should be typed to enforce required use of Symbol keys
> --------------------------------------------------------------------------------
>
>                 Key: PROTON-894
>                 URL: https://issues.apache.org/jira/browse/PROTON-894
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.9.1
>            Reporter: Robbie Gemmell
>              Labels: api
>
> The 'info' field of amqp-error [1] condition is of type 'fields' [2], a Symbol keyed map. The 'info' map in the ErrorCondition object should thus be typed for Symbol keys, whereas currently it is not typed at all implying use of any type is permissable, e.g. the common use of String keys.
> [1] http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-error
> [2] http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-transport-v1.0-os.html#type-fields



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

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