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:32:13 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13572995#comment-13572995 ] 

Benn Mapes commented on CB-2390:
--------------------------------

It appears that this has been fixed in the latest update/release. Closing issue.
                
> 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.5.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