rpi-crisis / crisis

Correcting Rensselaer's Insufferable SIS
https://rpicrisis.org
GNU Affero General Public License v3.0
5 stars 3 forks source link

[BUG REPORT] WSoD on variable and section in class result page #36

Open Al3afifi opened 2 years ago

Al3afifi commented 2 years ago

Environment (please complete the following information):

Describe the bug A clear and concise description of what the bug is.

Explain Steps To Reproduce Steps to reproduce the behavior:

  1. Search for class
  2. Click on class
  3. Head to class page
  4. See error: White Screen of Death when sections enabled

Expected behavior A clear and concise description of what you expected to happen.

I expect to view a list of sections, or at least an empty box, not WHITE 😭.

Screenshots If applicable, add screenshots to help explain your problem.

image

Additional context Add any other context about the problem here.

Similar happens when I attempt entering a variable such as {course.prereq.length}, while {course.prereq} doesn't white screen Also there's a split second before it white screens, and it seems like there's nothing inside the sections array. Also, if the whole 'converting to map and traversing through' part is commented out, it works fine.