You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2011/04/26 06:43:03 UTC
[jira] [Resolved] (OODT-54) Xml Rpc Serde Casts Longs to Ints
[ https://issues.apache.org/jira/browse/OODT-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann resolved OODT-54.
-----------------------------------
Resolution: Fixed
- Committed Paul's patch in r1096655. This was a blocker issue so it needed to get in, *but* it introduced a back incompat change in the SerDe for filemgr references going forward. If we see some issues with this, I think it can be less brittle by simply trying to cast first as Long then try casting back to int if the need arises.
> Xml Rpc Serde Casts Longs to Ints
> ---------------------------------
>
> Key: OODT-54
> URL: https://issues.apache.org/jira/browse/OODT-54
> Project: OODT
> Issue Type: Bug
> Components: file manager
> Affects Versions: 0.1-incubating
> Reporter: Paul Ramirez
> Assignee: Paul Ramirez
> Priority: Blocker
> Fix For: 0.3
>
> Attachments: OODT-54.pramirez.20101026.patch.txt
>
>
> Currently, the XmlRpcStructFactory does some casting of longs to integers. There is then some loss of precision when casting back. This seems to be limited to filesize in reference and bytestransfered in status object. I'll post a patch soon.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira