Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-73189

File upload limits not always enforced if there are many simultaneous uploads in progress

XMLWordPrintable

    • MOODLE_311_STABLE
    • MOODLE_311_STABLE
    • MDL-73189-master
    • Hide

      Testing scenario 1

      1. Login as Admin and create a quiz with an essay question.
      2. Set 'Allow attachments' = 1.
      3. Login as student and attempt the quiz.
      4. Turn on 3G mode for slow network testing or use a big file (whatever you prefer).
      5. Upload the first file (using drag&drop), while it is uploading, upload another file (using drag&drop too).
      6. Check an error message is displayed and the user is not allowed to submit more than one file.

      Testing scenario 2

      1. Login as Admin and create a quiz with an essay question.
      2. Set 'Allow attachments' = 2.
      3. Login as student and attempt the quiz.
      4. Turn on 3G mode for slow network testing or use a big file (whatever you prefer).
      5. Drag 2 files at the same time to upload, while the first file is uploading, upload another 3rd file.
      6. Check an error message is displayed and the user is not allowed to submit more than 2 files.
      7. After all the files are uploaded, drag them to reupload again.
      8. Check a popup is shown to let the user choose to overwrite/rename files.
      9. Choose rename.
      10. Check an error message is displayed and the user is not allowed to submit more than 2 files
      Show
      Testing scenario 1 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 or use a big file (whatever you prefer). Upload the first file (using drag&drop), while it is uploading, upload another file (using drag&drop too). Check an error message is displayed and the user is not allowed to submit more than one file. Testing scenario 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 or use a big file (whatever you prefer). Drag 2 files at the same time to upload, while the first file is uploading, upload another 3rd file. Check an error message is displayed and the user is not allowed to submit more than 2 files. After all the files are uploaded, drag them to reupload again. Check a popup is shown to let the user choose to overwrite/rename files. Choose rename. Check an error message is displayed and the user is not allowed to submit more than 2 files

      Issue 1:

      Steps:

      1. Login as Admin and create a quiz with an essay question.
      2. Set 'Allow attachments' = 1.
      3. Login as student and attempt the quiz.
      4. Turn on 3G mode for slow network testing
      5. 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:

      1. Login as Admin and create a quiz with an essay question.
      2. Set 'Allow attachments' = 2.
      3. Login as student and attempt the quiz.
      4. Turn on 3G mode for slow network testing
      5. 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.

       

        1. MDL-73189_master_test 1.png
          MDL-73189_master_test 1.png
          65 kB
        2. MDL-73189_master_test 2_1.png
          MDL-73189_master_test 2_1.png
          65 kB
        3. MDL-73189_master_test 2_2.png
          MDL-73189_master_test 2_2.png
          77 kB
        4. MDL-73189_v311_test 1.png
          MDL-73189_v311_test 1.png
          87 kB
        5. MDL-73189_v311_test 2_1.png
          MDL-73189_v311_test 2_1.png
          89 kB
        6. MDL-73189_v311_test 2_2.png
          MDL-73189_v311_test 2_2.png
          87 kB

            tiennguyenphuc Tien Nguyen
            tiennguyenphuc Tien Nguyen
            Tim Hunt Tim Hunt
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.