Moodle
  1. Moodle
  2. MDL-26350

File attachments are stored incorrectly when doing a "File Download" portfolio export from a forum

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: Forum, Portfolio
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      The zip file created when exporting a forum discussion OR post stores attachments in a manner different from what the included HTML document expects. The structure in the zip file is /site_files/_/. but the HTML document just expects /site_files/. Steps to reproduce:

      1. Create a forum.
      2. Create a discussion.
      3. Add a post with an attachment (doesn't matter what kind) to the discussion.
      4. Export the discussion as a file download.

      I've tried this with both an individual post and a full discussion with the same result. This is on my development system with the latest weekly release: Moodle 2.0.1+ (Build: 20110209).

        Gliffy Diagrams

          Issue Links

            Activity

            Charles Fulton created issue -
            Charles Fulton made changes -
            Field Original Value New Value
            Description The zip file created when exporting a forum discussion OR post stores attachments in a manner different from what the included HTML document expects. The structure in the zip file is /site_files/_/. but the HTML document just expects /site_files/. Steps to reproduce:

            1. Create a forum.
            2. Create a discussion.
            3. Add a post with an attachment (doesn't matter what kind) to the discussion.
            4. Export the discussion as a file download.

            I've tried this with both an individual post and a full discussion with the same result.
            The zip file created when exporting a forum discussion OR post stores attachments in a manner different from what the included HTML document expects. The structure in the zip file is /site_files/_/. but the HTML document just expects /site_files/. Steps to reproduce:

            1. Create a forum.
            2. Create a discussion.
            3. Add a post with an attachment (doesn't matter what kind) to the discussion.
            4. Export the discussion as a file download.

            I've tried this with both an individual post and a full discussion with the same result. This is on my development system with the latest weekly release: Moodle 2.0.1+ (Build: 20110209).
            Petr Skoda made changes -
            Affects Version/s 2.0.1 [ 10420 ]
            Affects Version/s 2.0.2 [ 10421 ]
            Martin Dougiamas made changes -
            Workflow MDL Workflow [ 67625 ] MDL Full Workflow [ 75848 ]
            Michael de Raadt made changes -
            Link This issue has been marked as being related by MDL-27677 [ MDL-27677 ]
            Michael de Raadt made changes -
            Link This issue has been marked as being related by MDL-25947 [ MDL-25947 ]
            David Mudrak made changes -
            Assignee Martin Dougiamas [ dougiamas ] David Mudrak [ mudrd8mz ]
            Charles Fulton made changes -
            Status Open [ 1 ] Closed [ 6 ]
            Resolution Cannot Reproduce [ 5 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: