You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/04 18:47:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16114807#comment-16114807 ]
ASF GitHub Bot commented on THRIFT-4266:
----------------------------------------
Github user djnym commented on the issue:
https://github.com/apache/thrift/pull/1316
@Jens-G just following up here, this is good to merge, and it would be great if it could make it with @dhull other fixes in the 0.11.0 release.
> 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
>
> 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)