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

Hide timezone warning sometime errors #5572

Closed
sentry-io bot opened this issue Jun 3, 2024 · 0 comments · Fixed by #5573
Closed

Hide timezone warning sometime errors #5572

sentry-io bot opened this issue Jun 3, 2024 · 0 comments · Fixed by #5573
Assignees
Labels
bug Something isn't working

Comments

@sentry-io
Copy link

sentry-io bot commented Jun 3, 2024

The code to hide the timezone warning is called on every page, but the warning itself isn't included on every page (e.g. the sign in page). This causes an error on these pages.

The error was introduced when we migrated away from jquery where such calls failed silently when the query selector yielded zero results.

Sentry Issue: DODONA-FRONTEND-2

TypeError: Cannot read property 'classList' of null
  at checkTimeZone (./app/assets/javascripts/utilities.ts:80:32)
  at None (/en/series/2897/overview/:583:10)
@sentry-io sentry-io bot added the bug Something isn't working label Jun 3, 2024
@github-project-automation github-project-automation bot moved this to Unplanned in Roadmap Jun 3, 2024
@jorg-vr jorg-vr moved this from Unplanned to In Progress in Roadmap Jun 3, 2024
@jorg-vr jorg-vr self-assigned this Jun 3, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Roadmap Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant