>From 21b549d2486bce54b246f3e1906d46c0632f4e02 Mon Sep 17 00:00:00 2001
From: Christophe Dumez <christophe.dumez@intel.com>
Date: Mon, 16 May 2011 14:49:41 +0300
Subject: [PATCH 07/10] QContactFetchByIdRequestWorker: Improved error
 reporting

Correctly update contact-level error map when EContact to
QContact conversion fails.
---
 engine/qcontactfetchbyidrequestworker.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/engine/qcontactfetchbyidrequestworker.cpp b/engine/qcontactfetchbyidrequestworker.cpp
index 0b5d5ae..ae80b85 100644
--- a/engine/qcontactfetchbyidrequestworker.cpp
+++ b/engine/qcontactfetchbyidrequestworker.cpp
@@ -111,6 +111,7 @@ void QContactFetchByIdRequestWorker::handleSubRequestFinished(int index)
       m_result.replace(index, c);
     } else {
       qWarning() << "EContact -> QContact conversion error";
+      m_errors.insert(index, QContactManager::UnspecifiedError);
     }
   }
 
-- 
1.7.4.4

