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

Unzipped files with a directory disappear after saving from the editor

XMLWordPrintable

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

      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.

            Unassigned Unassigned
            jeff.w Jeff White
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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