We have grade update on submit turned OFF and rely on the mass_update to submit grades. Only about 5 students are being updated because the loop cycling through all assignments terminates whenever Canvas reports that the attempt to update a grade failed.
I have identified *why* the failure occurs (at least one scenario): a student was originally enrolled in the course, completed two assignments and then dropped. Our institution automatically removes students from the Canvas section. Of course, WeBWorK does not drop students.
submit_grade fails for this student's first assignment. No further attempts to submit grades occur after this.
Looking at the code, I don't understand why the loop breaks since failure to update only uses *warn* and the loop itself in mass_update never checks whether any particular grade update was successful. Is there an exception thrown that makes the entire thread drop out?
I've submitted this as http://bugs.webwork.maa.org/show_bug.cgi?id=3954
- Brian Walton