From 823c30b39b1e2dc8db5203bea78599d6257ff72d Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 14 Jul 2021 17:16:14 +0100 Subject: Ensure that we get the file-name right before sending the save result. We cannot rely on wsd being slower than the kit. The rename has to happen before wsd / DocumentBroker gets to trying to access the filename. fixes #2874. Change-Id: Ie1e67cd059fb6a663048967c47759238c067172d Signed-off-by: Michael Meeks --- kit/ChildSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kit') diff --git a/kit/ChildSession.cpp b/kit/ChildSession.cpp index 22609e2e36..cf35aca688 100644 --- a/kit/ChildSession.cpp +++ b/kit/ChildSession.cpp @@ -2733,8 +2733,6 @@ void ChildSession::loKitCallback(const int type, const std::string& payload) break; case LOK_CALLBACK_UNO_COMMAND_RESULT: { - sendTextFrame("unocommandresult: " + payload); - Parser parser; Poco::Dynamic::Var var = parser.parse(payload); Object::Ptr object = var.extract(); @@ -2779,6 +2777,8 @@ void ChildSession::loKitCallback(const int type, const std::string& payload) } #endif } + + sendTextFrame("unocommandresult: " + payload); } break; case LOK_CALLBACK_ERROR: -- cgit