-
Notifications
You must be signed in to change notification settings - Fork 11
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
[BUG] Query Details page crash when refreshing #12
Comments
This looks like a bug in navigation. Need to pick this up for 2.18. |
@ansjcy The cause is not clear. Is this due to the browser referring to an "updated" timestamp for retrieving the query details instead of the original timestamp when the page was first loaded? |
@kkhatua the cause is we fetch all the top queries from backend when we load the overview page, and when we navigate to detailed page from overview page we can pass the selected record details from overview. However the same query that is passed to the detail page won't be available after refreshing. We can fix this bug by either adding the query to session storage or introducing an UUID field and support getting records by UUID. Considering the point made by @derek-ho in this thread: #21 (review), I would recommend adding an UUID field in the backend record. |
What is the bug?
On query details page, a simply refresh will make it crash.
How can one reproduce the bug?
What is the expected behavior?
The page should not crash with Query details correctly displayed.
What is your host/environment?
macos
Do you have any screenshots?
The text was updated successfully, but these errors were encountered: