You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Till Toenshoff (JIRA)" <ji...@apache.org> on 2017/06/02 10:35:04 UTC

[jira] [Assigned] (MESOS-5995) Protobuf JSON deserialisation does not accept numbers formated as strings

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

Till Toenshoff reassigned MESOS-5995:
-------------------------------------

    Assignee:     (was: Tomasz Janiszewski)

Unassigned this issue due to discarded review and lack of new activity.

> Protobuf JSON deserialisation does not accept numbers formated as strings
> -------------------------------------------------------------------------
>
>                 Key: MESOS-5995
>                 URL: https://issues.apache.org/jira/browse/MESOS-5995
>             Project: Mesos
>          Issue Type: Bug
>          Components: HTTP API
>    Affects Versions: 1.0.0
>            Reporter: Tomasz Janiszewski
>            Priority: Critical
>
> Proto2 does not specify JSON mappings but [Proto3|https://developers.google.com/protocol-buffers/docs/proto3#json] does and it recommend to map 64bit numbers as a string. Unfortunately Mesos does not accepts strings in places of uint64 and return 400 Bad 
> {quote}
> Request error Failed to convert JSON into Call protobuf: Not expecting a JSON string for field 'value'.
> {quote}
> Is this by purpose or is this a bug?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)