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

zip packer doesn't seem to respect directories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Files API
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      I'm passing it two files like so:

      http://paste.dollyfish.net.nz/f77ef2

      And yet, the resulting zip looks like:

      penny@hermia:~/downloads$ unzip -l portfolio-export.zip
      Archive: portfolio-export.zip
      Length Date Time Name
      -------- ---- ---- ----
      334 10-12-08 05:02 database module-entry.html
      195951 10-12-08 04:40 9medsred_1024.jpg
      -------- -------
      196285 2 files

      I would expect 9medsred_1024.jpg to be inside a site_files directory, as specified in its 'filepath'

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            mjollnir Penny Leach
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10