Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-903

ContactsModel can't save an existing contact

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 1.1.1
    • 1.1.0
    • Contacts
    • None
    • 50e714fc1db0ff5f5d162939217fe6bd29973aa2

    Description

      The contacts property in the ContactModel contains plain Javascript Objects and not Contact objects. This makes it impossible to edit and then save a contact again.

      This can easily be verified with 'typeof contactsModel.contacts[0]'

      Another example: model.saveContact(contactsModel.contacts[0]). This code will break the model.

      Attachments

        Activity

          People

            charles Charles Yin (closed Nokia identity) (Inactive)
            dm Geir Vattekar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: