Steps to replicate the issue (include links if applicable):
- Refesh the Uuguayan curriculum view several times until the subjects dropdown is set initially to:
- Blank
- Physical-chemical sciences
- Health and sexuality
What happens?:
You get a blank chart. After that, the visualization remains broken for the rest of the subjects.
You may also get an empty value at the subjects dropdown.
What should have happened instead?:
Any subject should load the chart correctly.
A valid subject should always appear at the subjects dropdown.
Other information
- The problem happens specifically with:
- Health and sexuality
- Physical-chemical sciences
- Physics?
- Earth sciences?
The subjects file is not storing the correct name for these subjects.
WIP branch https://github.com/wikicurricula-uy/wikicurricula-boilerplate/tree/bugfixing-empty-dashboard
Checklist to test this is fixed:
- Still works after re-running the bot.py script
- Navigating to any subject using the subjects dropdown loads the chart correctly
- The chart loads correctly for any given subject when first loading the page
- I18n (translation to English and Spanish) works correctly
- Each subject has the correct color reference