Olivier Bloch created CB-1268:
---------------------------------

             Summary: confirm and alert callbacks raise exceptions
                 Key: CB-1268
                 URL: https://issues.apache.org/jira/browse/CB-1268
             Project: Apache Cordova
          Issue Type: Bug
          Components: WP7
    Affects Versions: 2.0.0
            Reporter: Olivier Bloch
            Assignee: Jesse MacFadyen


When the confirm and alert callbacks (notification.cs) are invoked, an 
exception is raised when options are deserialized with the JSONHelper call 
JSON.JsonHelper.Deserialize<string[]>(options);

It seems the Deserialize function has some issue with the string[] type. When 
using the alertOptions type, things seem to be working fine:
AlertOptions alertOpts = JSON.JsonHelper.Deserialize<AlertOptions>(options);


--
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

        

Reply via email to