summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/graph
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-11-14 08:33:30 +0000
committerNicolas Martinelli <nim@odoo.com>2018-11-14 09:40:17 +0000
commit79d29c51dfa6a16434bd87ffb76a0970daf85019 (patch)
treeca3865df0e92587f9aa304d305eee67e5dcfd1f8 /addons/web/static/src/js/views/graph
parent4df0a1e31a6309404ea4cfcfc3076dbd44282ceb (diff)
[FIX] base_import_module, cli: deploy
The use of the `deploy` command always fails because of an incorrect CSRF token since commit 9bae56acd4ebe2b1. Indeed, the latter re-introduces the session rotation, i.e. the session ID is changed at authentication. Practically, what happens server-side is: - authentication - generate CSRF token - create the response with the token and a change of session ID At this point, the token generated is not correct anymore since it is based on the 'old' session ID. Therefore, when it is reused at uploading, an error is raised. It is actually possible to simplify the process by performing the authentication and the file upload in a single request. There is indeed no real use of extracting the authentication, since the request is then only used to upload the module. opw-1902863 closes odoo/odoo#28653
Diffstat (limited to 'addons/web/static/src/js/views/graph')
0 files changed, 0 insertions, 0 deletions