diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-10-10 10:52:44 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-11 07:33:40 +0000 |
| commit | dcca8ae2727e3c94cc1655a7b8c4c6e736d4f5ec (patch) | |
| tree | e44a54253e7e28fc02c6203c185a956497467406 /doc/reference/javascript_reference.rst | |
| parent | e3117013bacd390db500e513c36826de9db79071 (diff) | |
[FIX] website: fix _update_visitor_last_visit concurrency issues
Install the website, install a second language.
Switch the language on the website: error 500.
The function opened a new cursor, to update website_visitor.
It did so at the end of the query dispatch.
However when switching the language of the website, the lang is written on the
website visitor. This is done at the flush, done at the end (exit) of the query.
This is done on the cursor that was used for all the transaction.
Therefore that write would systemically fail on a
ERROR: could not serialize access due to concurrent update
opw 2080986
closes odoo/odoo#38453
X-original-commit: cc88a36744dc3c2949c47e8b163e1de98f5dbd95
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
