cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benn Mapes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-2390) navigator.contacts.find crashes application if a contact does not have a name.
Date Wed, 06 Feb 2013 21:57:13 GMT
Benn Mapes created CB-2390:
------------------------------

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

Mime
View raw message