You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this is done mid-semester with active requests, since we denormalize course_group_id onto the request at submit time, any existing course group IDs become invalid. We're not using foreign keys in our schema (I'm not sure why) so this ends up propagating up to a runtime error when we try to resolve groups for open requests: Couldn't find CourseGroup with 'id'.
The text was updated successfully, but these errors were encountered:
When new course groups are uploaded, we wipe out any existing groups and create all new ones:
office-hours-help-queue/app/controllers/admin/courses_controller.rb
Lines 58 to 84 in c4eb3ca
If this is done mid-semester with active requests, since we denormalize course_group_id onto the request at submit time, any existing course group IDs become invalid. We're not using foreign keys in our schema (I'm not sure why) so this ends up propagating up to a runtime error when we try to resolve groups for open requests:
Couldn't find CourseGroup with 'id'
.The text was updated successfully, but these errors were encountered: