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

Should a QContact's displayLabel be also updated on partial save? Please not :)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 1.2.0
    • Contacts
    • None

    Description

      From http://doc.qt.nokia.com/qtmobility-1.2/qcontactmanager.html#saveContact:
      "The manager will automatically synthesize the display label of the contact when it is saved."
      From http://doc.qt.nokia.com/qtmobility-1.2/qcontactmanager.html#saveContacts-2:
      "Details with definition names not included in the definitionMask will not be updated or added."

      But http://doc.qt.nokia.com/qtmobility-1.2/qcontactsaverequest.html#setDefinitionMask does not mention anything with regard to this. Especially if the display label should be updated or not. In the implementation of qtcontacts-tracker for handling a QContactSaveRequest we are going to just skip the updating of the display label if there is a definitionMask, to conform to the behaviour as specified for the sync variant of this operation and because the costs for first fetching all data possible used for the display label would ruin the idea of the mask.

      So please also extend the API specification of QContactSaveRequest with regard to the definitionMask, or have a common place to define behaviour for both sync and async fetch/save/remove operations. And perhaps also explicitely mention that the display label will not be updated on a partial save. Right?

      Attachments

        Activity

          People

            satu.m.makela satu makela
            kossebau Friedrich W. H. Kossebau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: