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

Dashboard fails to load if MITXONLINE_URL is not set #5143

Open
pdpinch opened this issue Dec 22, 2021 · 0 comments
Open

Dashboard fails to load if MITXONLINE_URL is not set #5143

pdpinch opened this issue Dec 22, 2021 · 0 comments

Comments

@pdpinch
Copy link
Member

pdpinch commented Dec 22, 2021

Since we have MITX_ONLINE set in all our deployed environments, it's not a critical issue. But it will eventually confuse some developer running the site locally without a value.

Steps to Reproduce

  1. Don't provide a value for the new setting MITXONLINE_URL
  2. Load /dashboard

Expected Behavior

  • dashboard loads
  • If the user should be given a message that contains MITXONLINE_URL the link should be omitted.

Actual Behavior

  • Most of the page does not load due to a JavaScript error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant