Skip to content
Snippets Groups Projects
Commit de3c29fa authored by Guillaume (gdi)'s avatar Guillaume (gdi) Committed by qsm-odoo
Browse files

[FIX] web_editor: do not update the options when destroying them

Since [this commit] it is visible that there is a race condition in the
editor. The race condition was caused by a call for an update of the
option visibility during the save, but the options may be in the
destruction process. This commit prevents the visibility of the options
from being updated when the option destruction process begins.

Steps to reproduce the bug fixed by this commit:
- Drop 2 times the image - text block on a page
- Drop a popup block
- Save

=> During the save, a traceback occurs.

[this commit]: https://github.com/odoo/odoo/commit/686e011f9b54bcfe93cc22db24435d2ca9213664

Related to opw-2971181

X-original-commit: 17af7977
Part-of: odoo/odoo#107062
parent 2b0d995a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment