You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2008/11/13 22:08:44 UTC

[jira] Updated: (THRIFT-206) ruby required field validation requires before read instead of after

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

Bryan Duxbury updated THRIFT-206:
---------------------------------

    Attachment: thrift-206.patch

> ruby required field validation requires before read instead of after
> --------------------------------------------------------------------
>
>                 Key: THRIFT-206
>                 URL: https://issues.apache.org/jira/browse/THRIFT-206
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (Ruby)
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>         Attachments: thrift-206.patch
>
>
> There's a glaring bug in the original ruby required patch. The check of required field presence happens BEFORE deserializing, not after. This means unset required fields will always be null.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.