Mod/assign not deleting submission status

Re: Mod/assign not deleting submission status

by Mathijs Gloudemans -
Number of replies: 0
Hey Jason,

No worries, I think the confusion stems from the difference between "submission status" and the actual submission. An assignment can have 3 defined statuses, "no submission", "submitted" and "graded". When a student sends in an assignment the submission status for that student changes from "no submission" to "submitted" and from "submitted" to "graded" if a grading has been given. The submission status can be used to trigger other things, for example the progress bar plugin uses the submission status to change the colour of the corresponding blocks.

The trouble now is that the submission status can change from "no submission" to "submitted", but can't revert back to "no submission". So even if the student does successfully remove the files, the system still marks the assignment as having been submitted (albeit with no actual files there). This causes confusion in the other plugins, and in the mod/assign itself, as users see a "this student has submitted a file" message (triggered by the submission status), but there is no actual file there as the student has removed it.

Hope this clears it up a bit? Thank you for testing and thinking along!

Regards,

Mathijs