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

Unzipped files with a directory disappear after saving from the editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.1, 3.2
    • Fix Version/s: None
    • Component/s: Files API
    • Labels:
    • Affected Branches:
      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

              Assignee:
              Unassigned Unassigned
              Reporter:
              jeff.w Jeff White
              Participants:
              Component watchers:
              Matteo Scaramuccia, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: