Skip to content

Data browser request does not cancel current long-loading request #2671

Closed
@mtrezza

Description

@mtrezza

New Issue Checklist

Issue Description

Setting a filter in the data browser that takes a long time for the data to load in the data browser is not cancelled when setting a new filter while the loading is ongoing. Instead, once the long-loading request completes, the data in the data browser is replaced by its result. This results in the filter dialog showing the filter of the second request and the data browser showing the data of the first request.

Steps to reproduce

  1. Navigate to data browser.
  2. Set a data filter that creates a request that requires a long time to load.
  3. While the request of step 2 is loading, change the filter dialog to a request that displays the result data immediately.
  4. After request of step 2 has finished, the data browser displays the data of the request in step 2 while the filter dialog shows the filter set in step 3.

Expected Outcome

When a new request is set, any currently running requests should be cancelled.

Environment

Dashboard

  • Parse Dashboard version: 6.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$20Bounty applies for fixing this issue (Parse Bounty Program)state:releasedReleased as stable versionstate:released-alphaReleased as alpha versiontype:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions