diff options
| author | Toufik Benjaa <tbe@odoo.com> | 2018-10-02 08:29:55 +0000 |
|---|---|---|
| committer | Toufik Ben Jaa <tbe@odoo.com> | 2018-11-21 10:09:10 +0000 |
| commit | 23a7b152762cf5a89fb362cbce41aac85d33cbf5 (patch) | |
| tree | f589ba54e7266bebc0a63ec18c106d97fd34f484 /addons/web/static/tests/fields/relational_fields_tests.js | |
| parent | dc23365048469b91fb5d20f64df14451e6170c32 (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
