Page MenuHomePhabricator

Uruguayan curriculum view sometimes loads empty chart
Closed, ResolvedPublicBUG REPORT

Description

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

imagen.png (1×2 px, 114 KB)

  • Physical-chemical sciences

Screenshot 2024-01-09 at 18-40-48 Wikicurrícula Uy.png (1×2 px, 124 KB)

  • 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

Event Timeline

Piracalamina renamed this task from Uruguayan curriculum view sometimes loads to Uruguayan curriculum view sometimes loads empty chart .Jan 9 2024, 9:47 PM
Piracalamina created this task.
Piracalamina changed the task status from Open to In Progress.Jan 10 2024, 8:53 PM
Piracalamina claimed this task.

Merged fix into main. Problem will be completely fixed when re-running bot.py in production