tools.py
8.55 KB
-
Fix a bug in Individual Due Date Extensions (IDDE). · 700504c5
The IDDE implementation relied on a StudentModule being created for a particular block in order to set the extended due date on that block. Since StudentModules seem to be created on demand whenever data is written to an attribute with Scope.user_state, it meant that if a homework problem hadn't yet been touched by a student it was possible that the due date extension wouldn't take effect for that problem, even if the due date extension was successfully set for the parent unit. This patch fixes this problem by creating new StudentModules as necessary in order to make sure extended due dates propogate properly to all problems in a unit.
Chris Rossi committed