Skip to content

[16.0] [FIX] cmis_web: save record before creating root folder#191

Open
ThomasBinsfeld wants to merge 1 commit into16.0from
16.0-fix_cmis_web_create_root_folder_save_record_tbi
Open

[16.0] [FIX] cmis_web: save record before creating root folder#191
ThomasBinsfeld wants to merge 1 commit into16.0from
16.0-fix_cmis_web_create_root_folder_save_record_tbi

Conversation

@ThomasBinsfeld
Copy link
Member

This fix prevents the loss of the ongoing modifications on the record.

This fix prevents the loss of the ongoing modifications on the record.
Comment on lines +160 to 161
await this.props.record.save();
if (!this.props.record.resId) {
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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants