-
Bug
-
Resolution: Fixed
-
Minor
-
3.8.4, 3.9.1
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
MDL-69297-master -
-
1
-
4.0 holding pattern 3, 4.0 holding pattern 4
Steps to reproduce
As a teacher:
- Create new assignment with:
- Submission types = File submissions
- Require students to click the submit button = Yes
As a student:
- On the assignment, Edit submission:
- Upload a file and save changes
- Open the Assignment page (with the Submit assignment button) in two browser tabs
- In one of the tabs, click and confirm the "Remove submission" button (the submission now has no files)
- In the other tab, click Submit assignment and confirm.
Expected results
Moodle rejects the submission, due to checking and finding that it had no files.
Actual results
Moodle accepts the submission.
Notes
Obviously this is a slightly pathological case, as it must take some malevolence or considerable confusion for a student to take those steps and create an empty submission - but I've had a student that appears to have managed just that!