cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Boyle (JIRA)" <>
Subject [jira] [Commented] (CB-3522) WP8: Calling .Find() with partial options results in NullReferenceException
Date Tue, 28 May 2013 17:16:21 GMT


Kevin Boyle commented on CB-3522:

Fixed and created a PR:

This is my first commit to the Cordova project, so not sure if I have followed all of the
rules. I tried to add a test, but couldn't see how that was done with WP8, happy to add one
as very easy to reproduce if somebody can give me pointers as to how you add a test
> WP8: Calling .Find() with partial options results in NullReferenceException
> ---------------------------------------------------------------------------
>                 Key: CB-3522
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 2.7.0
>            Reporter: Kevin Boyle
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
> WP8 library code doesn't deal with only specifying partial options. The following code
will cause a NullReferenceException and kill the app
> navigator.contacts.find(['id'], function (contacts) {
>     alert('found')
> }, function (error) {
>     alert('error')
> }, { multiple: true });

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:

View raw message