You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2017/12/14 13:56:23 UTC
[jira] [Closed] (THRIFT-4266) Erlang library throws during skipping
fields of composite type (maps, lists, structs, sets)
[ https://issues.apache.org/jira/browse/THRIFT-4266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King, III closed THRIFT-4266.
--------------------------------------
> Erlang library throws during skipping fields of composite type (maps, lists, structs, sets)
> -------------------------------------------------------------------------------------------
>
> Key: THRIFT-4266
> URL: https://issues.apache.org/jira/browse/THRIFT-4266
> Project: Thrift
> Issue Type: Bug
> Components: Erlang - Library
> Affects Versions: 0.10.0
> Reporter: David Hull
> Assignee: David Hull
> Fix For: 0.11.0
>
>
> I am creating this issue because I am unable to reopen THRIFT-1191.
> The Erlang thrift library throws an error when it attempts skip over an unknown field when decoding a message.
> The issue is that the second argument of the `thrift_protocol:skip` function must be an atom, but the calls to the `skip` function in `skip_struct_loop`, skip_map_loop`, skip_set_loop`, and `skip_list_loop` do not convert the type of the received field header from the integer form to the atom form.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)