Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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) {
Comment on lines +160 to 161
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we call save after the if? If the record is not created, I don't know if save() won't raise an error?

this.dialogService.add(WarningDialog, {
title: "CMIS Error",
Expand Down