From 2f355c473acec71e77c0499bd55c26a634471263 Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Wed, 6 Jan 2016 12:35:36 +0100 Subject: [PATCH] Don't show parent folders in the error list #3796 The error status of children should only be used for the etag logic. The SocketApi uses a path matching system to do this and the UI should report errors only for individual involved files/directories. --- src/libsync/owncloudpropagator.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libsync/owncloudpropagator.cpp b/src/libsync/owncloudpropagator.cpp index 4d31c42ff..ab0734dc0 100644 --- a/src/libsync/owncloudpropagator.cpp +++ b/src/libsync/owncloudpropagator.cpp @@ -663,7 +663,10 @@ void PropagateDirectory::finalize() } } _state = Finished; - _item->_status = _hasError == SyncFileItem::NoStatus ? SyncFileItem::Success : _hasError; + // Just to make sure that the SocketApi will know by looking in + // SyncEngine::_syncedItems that this folder is done synchronizing. + _item->_status = SyncFileItem::Success; + emit itemCompleted(*_item, *this); emit finished(_item->_status); } -- 2.30.2