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

File upload: Submit buttons aren't disabled when upload multiple files

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-71750-master
    • Hide

      Note: It's helpful to use slow 3G mode in developer tools to throttling your connection.

      Issue 1:

      1. Start writing a new forum discussion and add something to all required fields.
      2. Drag-and-drop the first image into atto (it's helpful to use slow 3G mode in developer tools to throttling your connection.)
      3. When the first image is uploading, drag-and-drop the second image into atto.
      4. Observe the "Post to forum" button. The "Post to forum" button should be disabled until both two files are uploaded

      Issue 2:

      1. Start writing a new forum discussion and add something to all required form fields.
      2. Drag-and-drop the first image into atto.
      3. When the first image is uploading, drag-and-drop a file into the attachment field.
      4. Observe the "Post to forum" button. The "Post to forum" button should be disabled until both two files are uploaded

      Issue 3:

      1. Start writing a new forum discussion and add something to all required form fields.
      2. Drag-and-drop the first file which into attachment field.
      3. When the first file is uploading, drag-and-drop a second file into the attachment field.
      4. Observe the "Post to forum" button. The "Post to forum" button should be disabled until both two files are uploaded

      Issue 4:

      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 5:

      1. Start writing a new forum discussion and add something to all required fields.
      2. Drag-and-drop the first file into the attachment area (it's helpful to use slow 3G mode in developer tools to throttling your connection.)
      3. Drag-and-drop the same file twice to the file manager. Select 'overwrite'.
      4. Observe the "Post to forum" button. The "Post to forum" button should be disabled until the file is overloaded.

      Issue 6:

      1. Start writing a new forum discussion with maximum file size upload is 500KB.
      2. Drag-and-drop the file with file size is larger than 500KB into the attachment area. The popup announcement file size is too large. Press "OK" button on the popup.
      3. Observe the "Post to forum" button. The "Post to forum" button should be enabled.
      Show
      Note : It's helpful to use slow 3G mode in developer tools to throttling your connection. Issue 1: Start writing a new forum discussion and add something to all required fields. Drag-and-drop the first image into atto (it's helpful to use slow 3G mode in developer tools to throttling your connection.) When the first image is uploading, drag-and-drop the second image into atto. Observe the "Post to forum" button. The "Post to forum" button should be disabled until both two files are uploaded Issue 2: Start writing a new forum discussion and add something to all required form fields. Drag-and-drop the first image into atto. When the first image is uploading, drag-and-drop a file into the attachment field. Observe the "Post to forum" button. The "Post to forum" button should be disabled until both two files are uploaded Issue 3: Start writing a new forum discussion and add something to all required form fields. Drag-and-drop the first file which into attachment field. When the first file is uploading, drag-and-drop a second file into the attachment field. Observe the "Post to forum" button. The "Post to forum" button should be disabled until both two files are uploaded Issue 4: 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 5: Start writing a new forum discussion and add something to all required fields. Drag-and-drop the first file into the attachment area (it's helpful to use slow 3G mode in developer tools to throttling your connection.) Drag-and-drop the same file twice to the file manager. Select 'overwrite'. Observe the "Post to forum" button. The "Post to forum" button should be disabled until the file is overloaded. Issue 6: Start writing a new forum discussion with maximum file size upload is 500KB. Drag-and-drop the file with file size is larger than 500KB into the attachment area. The popup announcement file size is too large. Press "OK" button on the popup. Observe the "Post to forum" button. The "Post to forum" button should be enabled.

      Previous ticket MDL-70947 we still have issues with in the forum.
      Issue 1:

      1. Start writing a new forum discussion and add something to all required fields.
      2. Drag-and-drop the first image into atto (it's helpful to use slow 3G mode in developer tools to throttling your connection.)
      3. When the first image is uploading, drag-and-drop the second image into atto.
      4. Observe the "Post to forum" button. 

      Issue 2:

      1. Start writing a new forum discussion and add something to all required form fields.
      2. Drag-and-drop the first image into atto.
      3. When the first image is uploading, drag-and-drop a file into the attachment field.
      4. Observe the "Post to forum" button.

      Issue 3:

      1. Start writing a new forum discussion and add something to all required form fields.
      2. Drag-and-drop the first file into attachment field.
      3. When the first fileis uploading, drag-and-drop a second file into the attachment field.
      4. Observe the "Post to forum" button.

      Expected result: The "Post to forum" button is disabled until all of the files are uploaded completely.

      Actual result: The "Post to forum" button has been enabled when the first file is uploaded and the second file is still uploading.

       

      Issue 4:

      With the essay question with a response format option: "HTML editor and file picker" and add the attachment. We drag and drop image, after that we can not submit or save the 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.

      Expected result: The popup is not shown and we can save or submit the result.

      Actual result: The popup show to confirm leave site.
      Issue 4 relative to the MDL-71644

            jbthong Thong Bui
            jbthong Thong Bui
            Huong Nguyen Huong Nguyen
            Andrew Lyons Andrew Lyons
            Gladys Basiana Gladys Basiana
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 42 minutes
                2d 42m

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