-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest versions of Parse Server and Parse Dashboard.
Issue Description
When a JS error causes the dashboard to crash (white screen), the browser keeps redirecting you to the same page/filter that caused the crash and you have to clear the local storage (the brower_last_location
key) to be able to navigate to another page.
Even if you go to the start page or a different class, it still redirects you back.
Steps to reproduce
- Go to a collection with pointers
- Set the filter to Unique on a pointer field and apply (same bug as in Crash on filter
unique
for pointer #2657 ) - The dashboard gets a JS error
TypeError: l.get is not a function
and the screen turns white - Navigate to a different class
- You get redirected back to the same page and the JS error causes it to crash again
Deleting browser_last_location
in local storage allows you to navigate to a different page.
Actual Outcome
The browser keeps redirecting you to the page that causes the crash.
Expected Outcome
Don't redirect to the previous page on page load.
Environment
Dashboard
- Parse Dashboard version:
7.3.0-alpha.14
- Browser (Safari, Chrome, Firefox, Edge, etc.):
Firefox
- Browser version:
140.0.4
Logs
TypeError: l.get is not a function
at dashboard.bundle.js:2:2240738
Metadata
Metadata
Assignees
Labels
type:bugImpaired feature or lacking behavior that is likely assumedImpaired feature or lacking behavior that is likely assumed