You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Benn Mapes (JIRA)" <ji...@apache.org> on 2013/02/07 00:34:12 UTC

[jira] [Resolved] (CB-2390) navigator.contacts.find crashes application if a contact does not have a name.

     [ https://issues.apache.org/jira/browse/CB-2390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benn Mapes resolved CB-2390.
----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.5.0)
                   2.4.0

It appears this was fixed in latest release.
                
> navigator.contacts.find crashes application if a contact does not have a name.
> ------------------------------------------------------------------------------
>
>                 Key: CB-2390
>                 URL: https://issues.apache.org/jira/browse/CB-2390
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 2.3.0
>         Environment: Lumia 800 running WP 7.1
>            Reporter: Benn Mapes
>            Assignee: Benn Mapes
>             Fix For: 2.4.0
>
>
> Windows Phone contacts don't always contain a name, sometimes they are just an email or they have a company name instead.
> When using navigator.contacts.find to get all the contacts on the phone, there is a NullReferecnceException when these contacts are encountered. This exception occurs in the FormatJSONContact function of Contacts.cs which crashes the application.

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