Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks done
mtrezza opened this issue Mar 8, 2025 · 1 comment
Open
4 tasks done

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

mtrezza opened this issue Mar 8, 2025 · 1 comment
Labels
bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@mtrezza
Copy link
Member

mtrezza commented Mar 8, 2025

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
Copy link

parse-github-assistant bot commented Mar 8, 2025

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza changed the title Long loading operation not cancelled Data browser request does not cancel current long-loading request Mar 8, 2025
@mtrezza mtrezza added type:bug Impaired feature or lacking behavior that is likely assumed bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) labels Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

1 participant