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

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.3, 3.4
    • Fix Version/s: None
    • Component/s: Accessibility, Filepicker
    • Labels:
    • Testing Instructions:
      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. **  
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull 3.6 Branch:
      MDL-61118-36-1
    • Pull 3.7 Branch:
      MDL-61118-37-1
    • Pull Master Branch:
      MDL-61118-master-1

      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

            • Assignee:
              Geshoski Mihail Geshoski
              Reporter:
              zig Zig Tan (Inactive)
              Peer reviewer:
              Mark Nelson
              Integrator:
              Andrew Nicols
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: