summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/relational_fields_tests.js
diff options
context:
space:
mode:
authorToufik Benjaa <tbe@odoo.com>2018-10-02 08:29:55 +0000
committerToufik Ben Jaa <tbe@odoo.com>2018-11-21 10:09:10 +0000
commit23a7b152762cf5a89fb362cbce41aac85d33cbf5 (patch)
treef589ba54e7266bebc0a63ec18c106d97fd34f484 /addons/web/static/tests/fields/relational_fields_tests.js
parentdc23365048469b91fb5d20f64df14451e6170c32 (diff)
[FIX] http: avoid crash on jsonp POST+GET
- This commit fixes a crash that happens when the server receive a JSON-P call done in two requests (a POST followed by a GET). The issue is due to the fact that when the first request is done (POST one) the member `params` is never initialized. This parameter is then used in the module `auth_signup` on an override of the method `dispatch` thus crashing the code. To avoid the crash, we now initialize `params`. closes odoo/odoo#27369
Diffstat (limited to 'addons/web/static/tests/fields/relational_fields_tests.js')
0 files changed, 0 insertions, 0 deletions