Issue 9987

Title
Fingerprints could be lost on concurrent update
Priority
bug
Status
unread
Nosy list
ced
Assigned to
Keywords

Created on 2021-01-11.19:03:17 by ced, last changed 1 week ago by ced.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-01-11.19:03:17

As the fingerprints are load at __init__ if the file is changed in between by another client, this last changes will be lost.
The best option would be to lock the file but Python standard lib does not have a cross-platform file locking mechanism.
Loading the content just before saving limit this case and it should be enough for our use case.

History
Date User Action Args
2021-01-11 19:03:17cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)