[ 
https://issues.apache.org/jira/browse/CB-3522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13668463#comment-13668463
 ] 

Kevin Boyle commented on CB-3522:
---------------------------------

Fixed and created a PR: https://github.com/apache/cordova-wp8/pull/8

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: https://issues.apache.org/jira/browse/CB-3522
>             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: http://www.atlassian.com/software/jira

Reply via email to