[
https://issues.apache.org/jira/browse/CB-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse MacFadyen resolved CB-1268.
---------------------------------
Resolution: Cannot Reproduce
This appears to have been an issue with conflicting JS+Native versions. I
could not reproduce the issue.
I did resolve a possibly related issue where the confirm button labels were not
properly parsed. (
https://github.com/purplecabbage/incubator-cordova-wp7/commit/1d7b999e8e7b5f84c849a8c3f1d08b8c0b0b14df
)
Please retest in 2.1.0rc2 once tagged, and reopen if required.
> 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
> Labels: Deserialize, JSONHelper
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira