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

Progress bar of previously uploaded file remains when uploading another file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8.3, 3.9
    • Fix Version/s: 3.8.4, 3.9.1
    • Component/s: JavaScript
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to your Private files
      2. Open your browser's dev tools
      3. On the network tab, throttle your speed to either Slow or Fast 3G connection.
      4. Drag and drop a file to the file manager. Let's call this file 1
      5. Confirm that a progress bar with file 1's filename is being shown.
      6. Drag and drop another file to the file manager. Let's call this file 2.
      7. Confirm that a progress bar with file 2's filename is being shown.
      8. Confirm that file 1's filename and progress bar are no longer being shown while uploading file 2.
      9. Drag and drop 2 files to the file manager. Let's call these files 3 and 4.
      10. Confirm that file 1 and 2's names and progress bars are no longer being shown during upload.
      11. Confirm that file 3's file name and its progress bar will be shown followed by file 4's file name and progress bar.
      Show
      Go to your Private files Open your browser's dev tools On the network tab, throttle your speed to either Slow or Fast 3G connection. Drag and drop a file to the file manager. Let's call this file 1 Confirm that a progress bar with file 1's filename is being shown. Drag and drop another file to the file manager. Let's call this file 2. Confirm that a progress bar with file 2's filename is being shown. Confirm that file 1's filename and progress bar are no longer being shown while uploading file 2. Drag and drop 2 files to the file manager. Let's call these files 3 and 4. Confirm that file 1 and 2's names and progress bars are no longer being shown during upload. Confirm that file 3's file name and its progress bar will be shown followed by file 4's file name and progress bar.
    • Affected Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Pull Master Branch:
      MDL-68890-master

      Description

      Should not display the previous file's progress bar when upload new file.

      Actual result

      1. Use Boost 
      2. Go to "Course" and add an "File" activity
      3. Upload a file using the "Drag and Drop" functionality
      4. Upload again a file using the "Drag and Drop" functionality
      5. The progress bar should now appear and show the upload progress
      6. Verify that it looks incorrect, multiple progress bar (included existed file's progress bar) display at the same time

      issue display exist file's progress bar when upload new file.PNG

       

      Expected result

      1. Use Boost 
      2. Go to "Course" and add an "File" activity
      3. Upload a file using the "Drag and Drop" functionality
      4. Upload again a file using the "Drag and Drop" functionality
      5. The progress bar should now appear and show the upload progress
      6. Verify that it looks fine, only new file's progress bar is displayed

       Please see attachment video:
      issue display exist file's progress bar when upload new file.gif

        Attachments

          Activity

            People

            Assignee:
            dinhhien0307 DinhPhamVinhHien
            Reporter:
            dinhhien0307 DinhPhamVinhHien
            Peer reviewer:
            Sam Marshall Sam Marshall
            Integrator:
            Jun Pataleta Jun Pataleta
            Tester:
            Janelle Barcega Janelle Barcega
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Jul/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 31 minutes
                1h 31m