diff options
| author | Romain Derie <rde@odoo.com> | 2020-01-28 13:51:20 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2020-01-29 17:39:49 +0000 |
| commit | 6e18e7f9341e6fac9c615aaa86c7d4270889f109 (patch) | |
| tree | fd4187a2da19160a32f34ad529de82114b0580a5 /doc/reference/javascript_reference.rst | |
| parent | 6a9ea9dbb283baacd7a4578f63e1de14703f96f2 (diff) | |
[FIX] website_sale: prevent race condition on tour
As this race condition seems not possible to be reproduced in local, all this
is an assumption based on the logs.
After the checkout, the user is redirected to `/shop/confirmation` where there
is RPCs fired every seconds to fetch the payment status
(`/shop/payment/get_status`).
As the test was considered as finished on that page, sometimes the RPC would
still be processed in python while the tour was considered done and killed,
thus also the cookies, session & co.
From that point, the python would crash when accessing the session.
In the logs, the python crash in the RPC call occurs after the test is done.
closes odoo/odoo#44235
X-original-commit: 082c660071283c0475e7ce26954803701cd3d659
Signed-off-by: Romain Derie <rdeodoo@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
