DataProcessor data loss issue
k8n opened this issue · comments
DataProcessor fails to call the API with an update when a prior update operation for the item with the same ID is currently in-flight.
webix/sources/load/dataprocessor.js
Line 236 in 2f6e359
This is especially problematic when working with a datatable
with the autoupdate
on over an unreliable or slow network connection.
Suppose a datatable
update results in an API call to update the backend. Suppose the API call is delayed and takes 2 seconds to complete. If another update event comes from the datatable
while this API call is in flight, Webix will ignore the update, will not commit the change to the backend.