diff options
| author | Géry Debongnie <ged@odoo.com> | 2017-04-03 13:54:28 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | 6bc75b61be1f8cd5c4e459bb5f8f2da7fa8ca29b (patch) | |
| tree | 5028c1d5554bc351f96c191bce94fbbc6a17d0e0 /addons/web/static/src/js/fields/upgrade_fields.js | |
| parent | 9100e675dfe7ae60ea3c8f1a5ef1e9a78a4ab4c6 (diff) | |
[FIX] web: better error handling in view and action manager
Before this commit, it could happen that a crash at the wrong time (for
example, while loading a view) cause the web client to crash for various
reasons. For example, it assumes that the active view always has a
valid controller. Or the action manager could not detach the previous
view, so we had the 'double view' rendering in the web client.
With this commit, we add some protections at various points. Those
safety measures should help the user keep working even if a specific
view did crash.
Diffstat (limited to 'addons/web/static/src/js/fields/upgrade_fields.js')
0 files changed, 0 insertions, 0 deletions
