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

Handling of unpacking of password protected zip files

XMLWordPrintable

    • MOODLE_23_STABLE, MOODLE_39_STABLE
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • Hide
      1. Login as admin
      2. Create a new course
      3. Visit new course and turn editing on
      4. Add a new Folder activity
      5. Upload passwordis1.zip to the Files element
      6. Click on passwordis1.zip in the Files element
      7. Press Unzip
      8. Confirm you receive an error: "Cannot unzip this file because one or more of it's files cannot be read."
      9. Press Cancel
      10. Repeat #5-#8 with test2.zip
      11. Confirm the directory structure is not incorporated.
      12. Upload test_moodle.zip to the Files element
      13. Click on test_moodle.zip in the Files element
      14. Press Unzip
      15. Confirm the dialog closes and the file has been unzipped (you should see the unzipped files now listed in the Files element)
      Show
      Login as admin Create a new course Visit new course and turn editing on Add a new Folder activity Upload passwordis1.zip to the Files element Click on passwordis1.zip in the Files element Press Unzip Confirm you receive an error: "Cannot unzip this file because one or more of it's files cannot be read." Press Cancel Repeat #5-#8 with test2.zip Confirm the directory structure is not incorporated. Upload test_moodle.zip to the Files element Click on test_moodle.zip in the Files element Press Unzip Confirm the dialog closes and the file has been unzipped (you should see the unzipped files now listed in the Files element)

      If a password protected zip file should be unpacked via file picker the folder structure is added but the files are not added into the folders.

      Generally its correct that there is no password option for such packages. But it would be nice to give users a feedback that unpacking is not completed.

        1. test2.zip
          0.5 kB
        2. test_moodle.zip
          0.7 kB
        3. Screenshot_2.jpg
          Screenshot_2.jpg
          28 kB
        4. Screenshot_1.jpg
          Screenshot_1.jpg
          46 kB
        5. passwordis1.zip
          0.2 kB

            pholden Paul Holden
            ralfh Ralf Hilgenstock
            Peter Dias Peter Dias
            Adrian Greeve Adrian Greeve
            Janelle Barcega Janelle Barcega
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 30 minutes
                3h 30m

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