[ 
https://issues.apache.org/jira/browse/THRIFT-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113468#comment-13113468
 ] 

Jake Farrell commented on THRIFT-1331:
--------------------------------------

THRIFT-1355 caused by the "should deserialize an empty map to an empty hash" 
test in compact_protocol_spec.rb added in this patch. This test case if failing 
and breaking the build. 

> Ruby library deserializes an empty map to nil
> ---------------------------------------------
>
>                 Key: THRIFT-1331
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1331
>             Project: Thrift
>          Issue Type: Bug
>          Components: Ruby - Library
>    Affects Versions: 0.7, 0.8
>            Reporter: Armaan Sarkar
>            Assignee: Armaan Sarkar
>             Fix For: 0.8
>
>         Attachments: THRIFT-1331_v1.patch, THRIFT-1331_v2.patch, 
> THRIFT-1331_v3.patch
>
>
> The problem occurs when deserializing an empty map. Instead of deserializing 
> to an empty hash in Ruby, Thrift currently makes it a nil object. This poses 
> a variety of problems and is not the intended/original behavior. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to