Fixes: Accidental deletion of all address properties when saving a contact
authorMathias Hasselmann <mathias@openismus.com>
Mon, 14 Jun 2010 22:30:21 +0000 (00:30 +0200)
committerMathias Hasselmann <mathias@openismus.com>
Mon, 14 Jun 2010 22:30:21 +0000 (00:30 +0200)
commitcdde9de3f839d107461f63186757f463225d82f6
treea6299717ee119070b2e15cd3cc2437b76b36f397
parent7dcce4306d342018e014f36faba63c61356086c8
Fixes: Accidental deletion of all address properties when saving a contact

RevBy: TrustMe
Details:

 * src/engine/contactsaverequest2.cpp: collectDeletions():
   Skip annoymous IRI schemes when collecting deletions as deleting them would
   wipe all instances.

 * tests/ut_qtcontacts_trackerplugin_querybuilder/data/202-save-request-1.rq:
 * tests/ut_qtcontacts_trackerplugin_querybuilder/data/202-save-request-2.rq:
 * tests/ut_qtcontacts_trackerplugin_querybuilder/data/202-save-request-3.rq:
 * tests/ut_qtcontacts_trackerplugin_querybuilder/data/202-save-request-4.rq:
   Update reference queries to cover removal of phone number subtypes.
src/engine/contactsaverequest2.cpp
tests/ut_qtcontacts_trackerplugin_querybuilder/data/202-save-request-1.rq
tests/ut_qtcontacts_trackerplugin_querybuilder/data/202-save-request-2.rq
tests/ut_qtcontacts_trackerplugin_querybuilder/data/202-save-request-3.rq
tests/ut_qtcontacts_trackerplugin_querybuilder/data/202-save-request-4.rq