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

Folders in ZIP files are not recreated when ZIP files are extracted

    Details

    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      When extracting a ZIP file, Moodle 2.0 places all files into the same folder rather than matching the folder structure of the ZIP file. This makes migration away from Legacy Files very difficult.

        Gliffy Diagrams

        1. screenshot.gif
          6 kB

          Activity

          Hide
          skodak Petr Skoda added a comment -

          Could you please attach a sample zip file that does not work for you?

          Show
          skodak Petr Skoda added a comment - Could you please attach a sample zip file that does not work for you?
          Hide
          bhorn Brandon Horn added a comment -

          Screenshot after zipped.zip (other attachment) is extracted in Moodle.

          Show
          bhorn Brandon Horn added a comment - Screenshot after zipped.zip (other attachment) is extracted in Moodle.
          Hide
          bhorn Brandon Horn added a comment -

          ZIP file containing 2 folders, each containing 2 text documents.

          Show
          bhorn Brandon Horn added a comment - ZIP file containing 2 folders, each containing 2 text documents.
          Hide
          bhorn Brandon Horn added a comment -

          The attached ZIP file contains 2 folders, each containing 2 text files. The screenshot shows the result of extracting it in Moodle. All 4 text files are in the same folder.

          Show
          bhorn Brandon Horn added a comment - The attached ZIP file contains 2 folders, each containing 2 text files. The screenshot shows the result of extracting it in Moodle. All 4 text files are in the same folder.
          Hide
          skodak Petr Skoda added a comment -

          Should be fixed now, thanks for the report and cooperation.

          Petr

          Show
          skodak Petr Skoda added a comment - Should be fixed now, thanks for the report and cooperation. Petr

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Dec/10