You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Nathan Marz (JIRA)" <ji...@apache.org> on 2008/12/01 23:01:44 UTC

[jira] Created: (THRIFT-218) When validation fails on serialization/deserialization, print out the invalid object

When validation fails on serialization/deserialization, print out the invalid object
------------------------------------------------------------------------------------

                 Key: THRIFT-218
                 URL: https://issues.apache.org/jira/browse/THRIFT-218
             Project: Thrift
          Issue Type: Improvement
          Components: Compiler (Java)
            Reporter: Nathan Marz
            Priority: Minor


When validation fails on serialization or deserialization, it would be helpful to know what was in the object rather than just seeing the message "X field was missing". The exception should append the object's toString() to the error message.

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


[jira] Updated: (THRIFT-218) When validation fails on serialization/deserialization, print out the invalid object

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury updated THRIFT-218:
---------------------------------

    Patch Info: [Patch Available]

> When validation fails on serialization/deserialization, print out the invalid object
> ------------------------------------------------------------------------------------
>
>                 Key: THRIFT-218
>                 URL: https://issues.apache.org/jira/browse/THRIFT-218
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Java)
>            Reporter: Nathan Marz
>            Assignee: Bryan Duxbury
>            Priority: Minor
>         Attachments: thrift-218.patch
>
>
> When validation fails on serialization or deserialization, it would be helpful to know what was in the object rather than just seeing the message "X field was missing". The exception should append the object's toString() to the error message.

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


[jira] Updated: (THRIFT-218) When validation fails on serialization/deserialization, print out the invalid object

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury updated THRIFT-218:
---------------------------------

    Attachment: thrift-218.patch

I think this should have the desired effect.

> When validation fails on serialization/deserialization, print out the invalid object
> ------------------------------------------------------------------------------------
>
>                 Key: THRIFT-218
>                 URL: https://issues.apache.org/jira/browse/THRIFT-218
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Java)
>            Reporter: Nathan Marz
>            Assignee: Bryan Duxbury
>            Priority: Minor
>         Attachments: thrift-218.patch
>
>
> When validation fails on serialization or deserialization, it would be helpful to know what was in the object rather than just seeing the message "X field was missing". The exception should append the object's toString() to the error message.

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


[jira] Commented: (THRIFT-218) When validation fails on serialization/deserialization, print out the invalid object

Posted by "Nathan Marz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666617#action_12666617 ] 

Nathan Marz commented on THRIFT-218:
------------------------------------

+1

> When validation fails on serialization/deserialization, print out the invalid object
> ------------------------------------------------------------------------------------
>
>                 Key: THRIFT-218
>                 URL: https://issues.apache.org/jira/browse/THRIFT-218
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Java)
>            Reporter: Nathan Marz
>            Assignee: Bryan Duxbury
>            Priority: Minor
>         Attachments: thrift-218.patch
>
>
> When validation fails on serialization or deserialization, it would be helpful to know what was in the object rather than just seeing the message "X field was missing". The exception should append the object's toString() to the error message.

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


[jira] Resolved: (THRIFT-218) When validation fails on serialization/deserialization, print out the invalid object

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury resolved THRIFT-218.
----------------------------------

    Resolution: Fixed

Committed.

> When validation fails on serialization/deserialization, print out the invalid object
> ------------------------------------------------------------------------------------
>
>                 Key: THRIFT-218
>                 URL: https://issues.apache.org/jira/browse/THRIFT-218
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Java)
>            Reporter: Nathan Marz
>            Assignee: Bryan Duxbury
>            Priority: Minor
>         Attachments: thrift-218.patch
>
>
> When validation fails on serialization or deserialization, it would be helpful to know what was in the object rather than just seeing the message "X field was missing". The exception should append the object's toString() to the error message.

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


[jira] Assigned: (THRIFT-218) When validation fails on serialization/deserialization, print out the invalid object

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury reassigned THRIFT-218:
------------------------------------

    Assignee: Bryan Duxbury

> When validation fails on serialization/deserialization, print out the invalid object
> ------------------------------------------------------------------------------------
>
>                 Key: THRIFT-218
>                 URL: https://issues.apache.org/jira/browse/THRIFT-218
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (Java)
>            Reporter: Nathan Marz
>            Assignee: Bryan Duxbury
>            Priority: Minor
>
> When validation fails on serialization or deserialization, it would be helpful to know what was in the object rather than just seeing the message "X field was missing". The exception should append the object's toString() to the error message.

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