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

File upload still gets stuck if try to leave page mid-upload

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-71644-master
    • Hide

      Issue 1:

      1. Attempt a quiz has an essay question can attachment file

      1. Create a Quiz that has an essay question can attach file.
      2. Log in as a student in the course, attempt the quiz.
      3. Open your browser's dev tools and in the network tab (chrome and firefox have this), you'll see a 'throttling' menu item near the right side. Set this to '3G' or the like, preferable as slow as you can set it.
      4. Next to the page has an essay question.
      5. Now, drag a 1MB image file (or thereabouts in size) from your local to the attachment area.
      6. Verify that the Next page / Previous page/ Fishnish attempt (Quiz attempt's navigation button) is disabled.

      2. Attempt a quiz that has multi-choice questions and essay questions on the same page.

      1. Create a quiz with question behavior that is interactive with multiple tries.
      2. Log in as a student in the course, attempt the quiz.
      3. Open your browser's dev tools and in the network tab (chrome and firefox have this), you'll see a 'throttling' menu item near the right side. Set this to '3G' or the like, preferable as slow as you can set it.
      4. Next to the page has an essay question and the multiple-choice question.
      5. Now, drag a 1MB image file (or thereabouts in size) from your local to the attachment area.
      6. Verify that the Check button under the multi-choice question is disabled.

      3. Preview the essay question.

      1. Log in as admin in the course, create the essay question which can attachment file.
      2. Select preview the question.
      3. Open your browser's dev tools and in the network tab (chrome and firefox have this), you'll see a 'throttling' menu item near the right side. Set this to '3G' or the like, preferable as slow as you can set it.
      4. Now, drag a 1MB image file (or thereabouts in size) from your local to the attachment area.
      5. Verify that the Save and the Submit and finish button is disabled.

      Issue 2:

      1. Create a quiz that has an essay question can attach file.
      2. Log in as a student in the course, attempt the quiz.
      3. Upload a file, waiting for the upload progress to be done.
      4. Re-upload the old file, when the popup appears ("There is already a file called [filename]"), then press cancel.
      5. Verify that the Next page / Previous page/ Fishnish attempt is enabled.
      Show
      Issue 1: 1. Attempt a quiz has an essay question can attachment file Create a Quiz that has an essay question can attach file. Log in as a student in the course, attempt the quiz. Open your browser's dev tools and in the network tab (chrome and firefox have this), you'll see a 'throttling' menu item near the right side. Set this to '3G' or the like, preferable as slow as you can set it. Next to the page has an essay question. Now, drag a 1MB image file (or thereabouts in size) from your local to the attachment area. Verify that the Next page / Previous page / Fishnish attempt (Quiz attempt's navigation button) is disabled. 2. Attempt a quiz that has multi-choice questions and essay questions on the same page. Create a quiz with question behavior that is interactive with multiple tries. Log in as a student in the course, attempt the quiz. Open your browser's dev tools and in the network tab (chrome and firefox have this), you'll see a 'throttling' menu item near the right side. Set this to '3G' or the like, preferable as slow as you can set it. Next to the page has an essay question and the multiple-choice question. Now, drag a 1MB image file (or thereabouts in size) from your local to the attachment area. Verify that the Check button under the multi-choice question is disabled. 3. Preview the essay question. Log in as admin in the course, create the essay question which can attachment file. Select preview the question. Open your browser's dev tools and in the network tab (chrome and firefox have this), you'll see a 'throttling' menu item near the right side. Set this to '3G' or the like, preferable as slow as you can set it. Now, drag a 1MB image file (or thereabouts in size) from your local to the attachment area. Verify that the Save and the Submit and finish button is disabled. Issue 2: Create a quiz that has an essay question can attach file. Log in as a student in the course, attempt the quiz. Upload a file, waiting for the upload progress to be done. Re-upload the old file, when the popup appears ("There is already a file called [filename] "), then press cancel. Verify that the Next page / Previous page / Fishnish attempt is enabled.

      Issue 1:
      In the quiz with the essay question, or the question can attachment file.
      During the upload process, if the user presses the Previous Page/ Next Page or Finish attempt button, Moodle notifies for user information confirm to leave the page. If we press cancel, the upload process continues, and buttons are disabled, but after the upload process is finished, we can not interact with buttons quiz's navigation.

      Besides that, we should also disable the buttons below:
      1. The "check" button in the quiz has a multiple-choice question and an essay question on the same page.
      2. The Save button and Submit and finish button when preview question.
      3. The Check button in a quiz with how questions behave: interactive with multiple tries

       

      Issue 2:

      The submit buttons are not enabled after closing the popup:

      1. Create a quiz with How qusetions behave: interactive with mulitple tries.
      2. Add a multiple choice quesion and an essay question on the same page.
      3. Upload a file, waiting for the upload progress is done.
      4. Reupload the old file, when the popup appear ("There is already a file called [filename]"), then press cancel.

       => The submit buttons are not enabled. 

            jbthong Thong Bui
            jbthong Thong Bui
            Tim Hunt Tim Hunt
            Adrian Greeve Adrian Greeve
            Gladys Basiana Gladys Basiana
            Votes:
            0 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 - 3 hours
                3h

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