incubator-oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Ramirez (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OODT-54) Xml Rpc Serde Casts Longs to Ints
Date Tue, 26 Oct 2010 15:40:37 GMT

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

Paul Ramirez updated OODT-54:
-----------------------------

    Attachment: OODT-54.pramirez.20101026.patch.txt

Here is a patch that should resolve the issue. Passed long values over xml rpc as string because
the version of the library we are running does not have long as valid data type. I could have
casted to a double but felt this was the better way to handle it.

> 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: Minor
>             Fix For: 0.2-incubating
>
>         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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message