-
Bug
-
Resolution: Fixed
-
Minor
-
3.11.4
-
MOODLE_311_STABLE
-
MOODLE_311_STABLE
-
MDL-73189-master -
Issue 1:
Steps:
- Login as Admin and create a quiz with an essay question.
- Set 'Allow attachments' = 1.
- Login as student and attempt the quiz.
- Turn on 3G mode for slow network testing
- Upload the first file, while it is uploading, upload another file.
Expected result: An error message should be displayed and user should not be allowed to submit more than one file.
Actual result: User can upload more than one file.
Issue 2:
- Login as Admin and create a quiz with an essay question.
- Set 'Allow attachments' = 2.
- Login as student and attempt the quiz.
- Turn on 3G mode for slow network testing
- Drag 2 files at the same time to upload, while the first file is uploading, upload another 2 files.
Expected result: An error message should be displayed and user should not be allowed to submit more than one file.
Actual result: When the first drag, the files is upload sequentially, file1 > file 2. When the file 1 is uploading, we can add another 2 files and the total will be 4 files at the end of uploading.
The upload doesn't show any error message and the user can upload the files more than the maximum number of files set in these cases. And when user submits, all the files get saved.