[Libreoffice-commits] online.git: wsd/DocumentBroker.cpp
Ashod Nakashian (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 19 15:07:35 UTC 2019
wsd/DocumentBroker.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit eb6508061dbd03becec66e8d927c9439b10c1a43
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
AuthorDate: Tue Nov 19 09:19:21 2019 -0500
Commit: Michael Meeks <michael.meeks at collabora.com>
CommitDate: Tue Nov 19 16:07:18 2019 +0100
wsd: notify clients of WOPI CONFLICT response
Change-Id: I7ad7d88066af7f2bba7fd3307c688ab85ba561eb
Reviewed-on: https://gerrit.libreoffice.org/83216
Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
Tested-by: Michael Meeks <michael.meeks at collabora.com>
diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp
index c8b0e811d..6b393d277 100644
--- a/wsd/DocumentBroker.cpp
+++ b/wsd/DocumentBroker.cpp
@@ -1040,7 +1040,8 @@ bool DocumentBroker::saveToStorageInternal(const std::string& sessionId, bool su
oss << "error: cmd=storage kind=" << (isRename ? "renamefailed" : "savefailed");
it->second->sendTextFrame(oss.str());
}
- else if (storageSaveResult.getResult() == StorageBase::SaveResult::DOC_CHANGED)
+ else if (storageSaveResult.getResult() == StorageBase::SaveResult::DOC_CHANGED
+ || storageSaveResult.getResult() == StorageBase::SaveResult::CONFLICT)
{
LOG_ERR("PutFile says that Document changed in storage");
_documentChangedInStorage = true;
More information about the Libreoffice-commits
mailing list