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

[BUG] ScopedHistory instance has fell out of scope for basePath: /app/data-explorer #5476

Open
abbyhu2000 opened this issue Nov 14, 2023 · 3 comments · May be fixed by #5498
Open

[BUG] ScopedHistory instance has fell out of scope for basePath: /app/data-explorer #5476

abbyhu2000 opened this issue Nov 14, 2023 · 3 comments · May be fixed by #5498
Labels
bug Something isn't working data explorer Issues related to the Data Explorer project discover for discover reinvent low priority

Comments

@abbyhu2000
Copy link
Member

abbyhu2000 commented Nov 14, 2023

Describe the bug

When we switch the query language in discover page, the console outputs the below error. On top of that, the action of navigating from discover page to another page will output a series of the following error as well.

It seems like the scope history in data explorer needs to be better handled.

scoped_history.ts:252 Uncaught (in promise) Error: ScopedHistory instance has fell out of navigation scope for basePath: /app/data-explorer
    at ScopedHistory.verifyActive (scoped_history.ts:252:1)
    at get location [as location] (scoped_history.ts:207:1)
    at getCurrentUrl (parse.ts:37:1)
    at getPendingUrl (osd_url_storage.ts:146:1)
    at flush (osd_url_storage.ts:135:1)
    at osd_url_storage.ts:163:1

To Reproduce
Steps to reproduce the behavior:

  1. Go to discover page
  2. Click on the toggle on query language selector on the top navigation bar.
  3. See error
@abbyhu2000 abbyhu2000 added bug Something isn't working untriaged data explorer Issues related to the Data Explorer project discover for discover reinvent labels Nov 14, 2023
@thanhinhchtom
Copy link
Contributor

@joshuarrrr Can I try this one?

@abbyhu2000
Copy link
Member Author

@ashwin-pc here is the screenshot recording, i started the dashboard in Incognito:

Screen.Recording.2023-12-01.at.11.33.57.AM.mov

@lynara
Copy link

lynara commented Sep 4, 2024

Hi,
is this related to my issue that the browser back button is not working like it did prior to 2.10 when the new discover tool got introduced?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data explorer Issues related to the Data Explorer project discover for discover reinvent low priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants