From a3c69cd8a6b1cbabc0d7454ae161b80431d62017 Mon Sep 17 00:00:00 2001 From: Thomas Binsfeld Date: Fri, 6 Dec 2024 15:00:37 +0100 Subject: [PATCH] [FIX] cmis_web: save record before creating root folder This fix prevents the loss of the ongoing modifications on the record. --- cmis_web/static/src/cmis_folder/cmis_folder.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cmis_web/static/src/cmis_folder/cmis_folder.js b/cmis_web/static/src/cmis_folder/cmis_folder.js index dad378ff..15dfa7d7 100644 --- a/cmis_web/static/src/cmis_folder/cmis_folder.js +++ b/cmis_web/static/src/cmis_folder/cmis_folder.js @@ -157,6 +157,7 @@ export class CmisFolderField extends Component { } async createRootFolder() { + await this.props.record.save(); if (!this.props.record.resId) { this.dialogService.add(WarningDialog, { title: "CMIS Error",