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] Report generation fails due to Improper URL parsing #281

Closed
AMoo-Miki opened this issue Jan 29, 2024 · 1 comment
Closed

[BUG] Report generation fails due to Improper URL parsing #281

AMoo-Miki opened this issue Jan 29, 2024 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers v2.15.0

Comments

@AMoo-Miki
Copy link
Contributor

The logic used in checkURLParams, incorrectly assumes that the URL has a # and causes a JS error when one is not present.

The offending code is

const [hash, query] = location.href.split('#')[1].split('?');
@AMoo-Miki AMoo-Miki added bug Something isn't working untriaged labels Jan 29, 2024
@AMoo-Miki AMoo-Miki changed the title [BUG] Report generation fails due to Improper URL parsinf [BUG] Report generation fails due to Improper URL parsing Jan 29, 2024
@AMoo-Miki
Copy link
Contributor Author

This is breaking Dashboards' Discover in 2.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers v2.15.0
Projects
None yet
Development

No branches or pull requests

3 participants