huridocs / uwazi

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

[IX] Concurrent clicks on accept results in missing actions #7068

Closed txau closed 1 month ago

txau commented 3 months ago

Hitting accept too fast in several options in the table view for multiselect extraction, results in some of the "accepts" being missed. Looks like a concurrency problem or race condition, not sure.

txau commented 2 months ago

Eg. in the screenshot, the 3 suggestion where accepted and 3 requests were sent, but only the last one shows as accepted:

Image

All the responses are: success true

Upon refresh, the status of the suggestion gets properly updated, so this seem to be a pure front-end issue:

Image

txau commented 1 month ago

I cannot replicate on testing anymore. This seems to be fixed.