huridocs / uwazi

Uwazi is a web-based, open-source solution for building and sharing document collections
http://www.uwazi.io
MIT License
242 stars 80 forks source link

AT conflict solver #7453

Closed daneryl closed 1 day ago

daneryl commented 2 days ago

Uwazi has no conflict management implemented, meaning if 2 users or processes try to save the same entity the last save will overwrite the first one, this is a rare scenario, but in the case of AT its easy for it to happen. When creating new entities its a usual workflow to edit them to fix or change some values, while this is happening AT is translating properties in the background, when the user updates the same entity will overwrite the translated values.

daneryl commented 1 day ago

To solve this we are implementing a custom conflict solver only for AT, a more general solution was too complicated and time consuming at this point, after #7463 is ready, users will be able to modify entities being translated without fear to overwrite the translated values.