You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2012/06/22 19:42:42 UTC
[jira] [Resolved] (CB-668) FileTransfer - UploadOptions does not
deserialize Params
[ https://issues.apache.org/jira/browse/CB-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse MacFadyen resolved CB-668.
--------------------------------
Resolution: Fixed
https://github.com/purplecabbage/incubator-cordova-wp7/commit/f61b3a4615fcc35e50b70eb2098da9532a4e68e7
> 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