You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kevin Boyle (JIRA)" <ji...@apache.org> on 2013/05/28 19:12:19 UTC

[jira] [Created] (CB-3522) WP8: Calling .Find() with partial options results in NullReferenceException

Kevin Boyle created CB-3522:
-------------------------------

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


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