Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2390

navigator.contacts.find crashes application if a contact does not have a name.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0
    • cordova-wp7 (DEFUNCT)
    • None
    • Lumia 800 running WP 7.1

    Description

      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.

      Attachments

        Activity

          People

            bennmapes Benn
            bennmapes Benn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: