Update change log and spec for wrt-plugins-tizen_0.4.74
[framework/web/wrt-plugins-tizen.git] / src / DataSync / DataSyncManager.cpp
index 2894ac8..9a635b6 100755 (executable)
@@ -600,7 +600,7 @@ void DataSyncManager::OnRequestReceived(const IEventUpdateProfilePtr &event)
                }
 
                ret = sync_agent_ds_update_profile(profile_h);
-               if (SYNC_AGENT_DS_SUCCESS!=ret) {
+               if (SYNC_AGENT_DS_SUCCESS!=ret && SYNC_AGENT_DS_SYNCHRONISING !=ret) {
                        ThrowMsg(NotFoundException, "Platform error while updating a profile: "<<ret);
                }
 
@@ -642,7 +642,7 @@ void DataSyncManager::OnRequestReceived(const IEventRemoveProfilePtr &event)
                }
 
                ret = sync_agent_ds_delete_profile(profile_h);
-               if (SYNC_AGENT_DS_SUCCESS!=ret) {
+               if (SYNC_AGENT_DS_SUCCESS!=ret && SYNC_AGENT_DS_SYNCHRONISING !=ret) {
                        ThrowMsg(PlatformException, "Platform error while deleting a profile: "<<ret);
                }
 
@@ -969,7 +969,7 @@ void DataSyncManager::OnRequestReceived(const IEventStartSyncPtr &event)
         }
 
                ret = sync_agent_ds_start_sync(profile_h);
-               if (SYNC_AGENT_DS_SUCCESS!=ret) {
+               if (SYNC_AGENT_DS_SUCCESS!=ret && SYNC_AGENT_DS_SYNCHRONISING !=ret) {
                        ThrowMsg(PlatformException, "Platform error while starting a profile: "<<ret);
                }