Skip to content

DataProcessor data loss issue #341

@k8n

Description

@k8n

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.

if (tosave._in_progress) continue;

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions