Skip to content

Commit

Permalink
[FIX] cmis_web: save record before creating root folder
Browse files Browse the repository at this point in the history
This fix prevents the loss of the ongoing modifications on the record.
  • Loading branch information
ThomasBinsfeld committed Dec 6, 2024
1 parent 2470c44 commit a3c69cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmis_web/static/src/cmis_folder/cmis_folder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a3c69cd

Please sign in to comment.