diff options
| author | Alexandre Kühn <aku@odoo.com> | 2021-02-25 11:09:12 +0000 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2021-02-25 11:18:27 +0000 |
| commit | a444f9c89bb8d5790b8a068a8f120f6ea9d1b17f (patch) | |
| tree | 10a40f809d86c4ff9b6335a116fbf5b32546fe84 /addons/web_editor/static/src/js | |
| parent | 2c38dc6e34ebb8d4590adead74ebf02fee40d66a (diff) | |
[FIX] mail: this.env.services.bus_service is undefined
Before this commit, a page reload or a redirect could raise following
error:
```
Uncaught (in promise) TypeError: this.env.services.bus_service is undefined
```
This happens due to `Messaging` model relying on `bus_service` in its
teardown method `_willDelete`. This is sometimes unsafe because the
bus service may not have been deployed yet.
Task-2468469
closes odoo/odoo#66818
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions
