Fixes: QContactFetchRequest returns QContactOrganization detail for every contact 36
authorAdrien Bustany <adrien.bustany@nokia.com>
Fri, 8 Oct 2010 17:02:59 +0000 (20:02 +0300)
committerAdrien Bustany <adrien.bustany@nokia.com>
Mon, 11 Oct 2010 07:27:40 +0000 (10:27 +0300)
commit4aab58aae4bf2c458b614eac8b08f4f7c11e7315
tree7290fe03f6474fd79fbcaf0aa33e4b4afa97d26c
parent48e61da2689119c46b48ee7794714420afd99170
Fixes: QContactFetchRequest returns QContactOrganization detail for every contact

Bug: NB#192947
RevBy: TrustMe
RevBy: people-review
Details:
This commit adds a check on IRI presence when fetching a detail composed of
several fields (several columns in the query result). If the IRI of the detail
is empty, the detail will be skipped.
This commit also adds a test for this bug.
src/engine/contactfetchrequest.cpp
tests/ut_qtcontacts_trackerplugin/ut_qtcontacts_trackerplugin.cpp