incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CB-668) FileTransfer - UploadOptions does not deserialize Params
Date Tue, 19 Jun 2012 23:48:42 GMT

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

Jesse MacFadyen reassigned CB-668:
----------------------------------

    Assignee: Jesse MacFadyen  (was: Filip Maj)
    
> FileTransfer - UploadOptions does not deserialize Params
> --------------------------------------------------------
>
>                 Key: CB-668
>                 URL: https://issues.apache.org/jira/browse/CB-668
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.7.0, 1.8.0, 1.8.1
>            Reporter: Ben Page
>            Assignee: Jesse MacFadyen
>             Fix For: 1.9.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The JSON Deserializer, 'DataContractJsonSerializer' cannot deserialize a Dictionary<T1,T2>.
It therefore crashes when trying to deserialize the 'Params' member of the UploadOptions object
when performing an upload.
> A workaround I am using for the moment is to utilise json.NET instead, to deserialize.
If this is used, make sure all deserializable objects that have defined objects as members
have a default constructor (eg add a basic constructor to FileEntry)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message