summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/relational_fields.js
diff options
context:
space:
mode:
authorxmo-odoo <xmo@odoo.com>2017-06-08 14:16:43 +0200
committerGitHub <noreply@github.com>2017-06-08 14:16:43 +0200
commit45e94ec756e0da4766110bd3ce94ede4203e4486 (patch)
treea4b8d80ec619efb72cb67435dabf5255381ce881 /addons/web/static/src/js/fields/relational_fields.js
parent1612f2cdf797adb1e7639874c8d0138d0d939749 (diff)
[FIX] web: CrashManager can crash if trying to show an empty message
If `d.message` is an empty string, `!!d.message` is false and the crashmanager will try to display `d.error.data.message`… which does not exist as it's a warning with an empty message not an upstream error. That causes the crashmanager itself to crash, and even the warning name/title to be lost.
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions