ISIS3510-202410-Team-13 / Backend

Efficient time management and meeting coordination
0 stars 0 forks source link

Mistreatment of classes with a multi-classroom setting #5

Open jsurrea opened 4 months ago

jsurrea commented 4 months ago

Describe the bug Classroom is being calculated incorrectly due to some cases with dashes "-"

To Reproduce Query with body: {dayOfWeek: v, startTime: 1600, endTime: 2000} Check values for RGD building

Expected behavior Values like this should be treated like 2 different classrooms. Example: RGD 212-13 should be treated as if we had 2 different items identical in all but classroom, ie, RGD 212 and RGD 213

Screenshots This is an example of the error when consuming the API from the Flutter App

image

Additional context There is a regex that deletes all non alphanumeric characters when calculating building and classroom, this is the place to fix this

jsurrea commented 2 months ago

Will de-prioritize this to Sprint 5 (post-course)