PFW: Do not stop on hard sync errors

BZ: 76263

When synchronization fails, the parameter-framework should
log a warning and continue synchronization instead of stopping

Change-Id: Ic12d8798ea25584db714ee26e644fac793c28881
Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com>
Reviewed-on: http://android.intel.com:8080/81825
Reviewed-by: Centelles, Sylvain <sylvain.centelles@intel.com>
Reviewed-by: Denneulin, Guillaume <guillaume.denneulin@intel.com>
Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
diff --git a/parameter/DomainConfiguration.cpp b/parameter/DomainConfiguration.cpp
index f7243c4..1aa3e0d 100644
--- a/parameter/DomainConfiguration.cpp
+++ b/parameter/DomainConfiguration.cpp
@@ -333,8 +333,10 @@
 }
 
 // Apply data to current
-bool CDomainConfiguration::restore(CParameterBlackboard* pMainBlackboard, bool bSync, string& strError) const
+bool CDomainConfiguration::restore(CParameterBlackboard* pMainBlackboard, bool bSync, list<string>* plstrError) const
 {
+    bool bSuccess = true;
+
     AreaConfigurationListIterator it;
 
     // Just propagate to areas
@@ -342,13 +344,10 @@
 
         const CAreaConfiguration* pAreaConfiguration = *it;
 
-        if (!pAreaConfiguration->restore(pMainBlackboard, bSync, strError)) {
-
-            return false;
-        }
+        bSuccess &= pAreaConfiguration->restore(pMainBlackboard, bSync, plstrError);
     }
 
-    return true;
+    return bSuccess;
 }
 
 // Ensure validity for configurable element area configuration