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

Uploaded TGZ file using filepicker displays "Unzip" option, but is unable to unzip

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 3.3.3, 3.4
    • None
    • Accessibility, Filepicker
    • MOODLE_33_STABLE, MOODLE_34_STABLE
    • MDL-61118-master-1
    • Hide
      1. Create a course.
      2. Add Folder resource to the course.
      3. In "Adding a new Folder":
        1. Upload a .tgz file using the filepicker.
        2. Click on the uploaded .tgz file in the select files area. Modal should pop-up.
          • make sure the "Unzip" button is displayed in the modal.
        3. Press on the "Unzip" button.
          • make sure the content from the .tgz file has been successfully unzipped and displayed in the files area.
        4. Repeat steps 1, 2, 3 by uploading other archived files (ex. .7z, .gz, etc.).
          • make sure each time the content from the archived files has been successfully unzipped and displayed in the files area.**

       

      Show
      Create a course. Add Folder resource to the course. In "Adding a new Folder": Upload a .tgz file using the filepicker. Click on the uploaded .tgz file in the select files area. Modal should pop-up. make sure the "Unzip" button is displayed in the modal. Press on the "Unzip" button. make sure the content from the .tgz file has been successfully unzipped and displayed in the files area. Repeat steps 1, 2, 3 by uploading other archived files (ex. .7z, .gz, etc.). make sure each time the content from the archived files has been successfully unzipped and displayed in the files area. **  

    Description

      This bug was discovered in testing MDL-43827.

      Steps to replicate:

      1. Create a course.
      2. Add Folder resource to the course.
      3. In "Adding a new Folder":
        1. Upload a TGZ file using the filepicker
        2. Select the uploaded TGZ file using the keyboard (navigate by pressing "Tab", press "Enter" to open / mouse click on file).
        3. Navigate through the pop-up using the keyboard and attempt to unzip the file using keyboard (press "Enter" on "Unzip" / mouse click on "Unzip").

      Expected behaviour:

      • If TGZ files are supported for unzipping, the TGZ file should unzip.
        • Or
      • If TGZ files are not supported for unzipping, the "Unzip" button in the pop-up should not be displayed.

      Current behaviour:

      • The Unzip button closes the popup and any files listed in the Files area is cleared.
      • No unzipping functionality is performed on the TGZ file.

      Attachments

        Activity

          People

            Geshoski Mihail Geshoski
            zig Zig Tan (Inactive)
            Mark Nelson Mark Nelson
            Andrew Lyons Andrew Lyons
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: