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 2009/05/05 20:51:30 UTC

[jira] Closed: (THRIFT-485) Generated validate methods that reference external thrift files' types are not referenced correctly

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

Bryan Duxbury closed THRIFT-485.
--------------------------------

    Resolution: Fixed

Committed.

> Generated validate methods that reference external thrift files' types are not referenced correctly
> ---------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-485
>                 URL: https://issues.apache.org/jira/browse/THRIFT-485
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (Ruby)
>    Affects Versions: 0.1, 0.2
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.2
>
>         Attachments: thrift-485.patch
>
>
> If you have an enum in one thrift file and a struct with a field of that enum in another thrift file, the generated ruby code will try to validate the field's value against the enum's class, but without the namespace, resulting in errors. 
> Also, I found one other place where we should use the fully qualified type name instead of just the type name - when rendering constants of a struct.

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