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

Maemo5 backend doesn't allow multiple email addresses (or other details)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.0.2
    • 1.0.0
    • Contacts
    • None
    • b38201ccfc1b97d034889cf4bfcd24ddb5390b4a

    Description

      Currently, the maemo5 engine sees all details other than phone number and online account details as unique (since it uses "overwrite = true" codepath during save for all details other than phone number and online account).

      This can lead to the situation where a user could create a contact with the native API, and add multiple email addresses to it. Then, attempting to perform operations on that contact via the Qt Mobility Contacts API could fail.

      Testing shows that clients can still modify or remove the email addresses, and add / modify / remove other details. I did not test adding another email address, but presumably that would fail. If not, the uniqueness constraint is not being observed correctly (ie, it is erroneous to update an existing email address when the clients wants to add a new email address; the operation should instead fail with LimitReachedError).

      Attachments

        Activity

          People

            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: