incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Page (JIRA)" <>
Subject [jira] [Created] (CB-668) FileTransfer - UploadOptions does not deserialize Params
Date Tue, 08 May 2012 00:35:47 GMT
Ben Page created CB-668:

             Summary: FileTransfer - UploadOptions does not deserialize Params
                 Key: CB-668
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP7
    Affects Versions: 1.7.0
            Reporter: Ben Page
            Assignee: Jesse MacFadyen

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:!default.jspa
For more information on JIRA, see:


View raw message