summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorfw-bot <otis@odoo.com>2019-10-29 11:13:45 +0000
committerfw-bot <otis@odoo.com>2019-10-29 15:57:39 +0000
commit72febff7071caf8921177304051108aef664c627 (patch)
tree6f080534ae683a5285e80b5b074c409fdb44b857 /doc/reference/javascript_reference.rst
parent4ed2bd4abfe07951b714af2e438d9182b72d7655 (diff)
[FIX] tests: ensure that previous user is logged off in authenticate
In some case, a browser_js test with login "None" following a browser_js test with a defined login could result in the second test being executed with the previous user. This was caused by a race condition, a request response comming back to chrome just after browser clear, restoring the old cookie. (All odoo request have the set_cookie flag set in order to refresh cookie timeout) The solution here is to check one more time for cookie in authenticate, but also to remove HTTPCase session from session_store. This will only be effective when calling browser_js without login in the same HTTPCase . closes odoo/odoo#39525 X-original-commit: 218db53b9da1573dc18610678de3b7f763531c60 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions