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

Unzipped files with a directory disappear after saving from the editor

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 3.1.1, 3.2
    • None
    • Files API
    • MOODLE_31_STABLE, MOODLE_32_STABLE

    Description

      Whenever I attempt to unzip a file filled with any content to a Lesson activity's content page the folder gets deleted as soon as I save the page. The zip file remains but the folder is no longer there. I discovered that if I upload each file individually, Moodle saves the files with no problem. Adding the folders is a little bit harder since it seems the "add folder" option is missing. Should I assume that a content page in a lesson functions similarly to an html page activity?

      See attachment for details on how to reproduce error.

      Adrian - The problem here is that the file manager in Atto or tinyMCE can not cope with a directory being created via an unzipped file. When the page is saved the unzipped directory is deleted and any reference to the files in that directory are also lost.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jeff.w Jeff White
              Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: