summaryrefslogtreecommitdiff
path: root/addons/website/static/src
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2021-03-15 11:27:05 +0000
committerGéry Debongnie <ged@odoo.com>2021-03-15 15:04:16 +0000
commitb88b634a0363a55411290e54e37806cfec1b2de5 (patch)
tree21a551bb817646e638e6ead255c14f0d6d354c1f /addons/website/static/src
parent4445207161c84d2854055df63013c1361e5d4697 (diff)
[FIX] web_tour: make tour system more resilient
The tour system is based on many assumptions, some of those not being true all the time. In practice, it works most of the time, but when some slight changes occurs, we may observe undeterministic behavior. This was actually the case in a dev branch working on assets: the order of some files was changed, and it caused crashes in various tours. This helped us identify two issues in the Tip class: - the Tip class may be destroyed before it is completely started (so, the destroy method should not assume that the code in start was called - the attach_to method should not resolve if the tip was destroyed meanwhile. This is critical, because some code uses that promise to act on the widget. This commit fixes both of these issues. closes odoo/odoo#67872 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/website/static/src')
0 files changed, 0 insertions, 0 deletions