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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

          Attachments

            Issue Links

              Activity

              cfulton Charles Fulton created issue -
              cfulton 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).
              skodak Petr Skoda made changes -
              Affects Version/s 2.0.1 [ 10420 ]
              Affects Version/s 2.0.2 [ 10421 ]
              dougiamas Martin Dougiamas made changes -
              Workflow MDL Workflow [ 67625 ] MDL Full Workflow [ 75848 ]
              salvetore Michael de Raadt made changes -
              Link This issue has been marked as being related by MDL-27677 [ MDL-27677 ]
              salvetore Michael de Raadt made changes -
              Link This issue has been marked as being related by MDL-25947 [ MDL-25947 ]
              mudrd8mz David Mudrák made changes -
              Assignee Martin Dougiamas [ dougiamas ] David Mudrak [ mudrd8mz ]
              Hide
              cfulton Charles Fulton added a comment -

              I can no longer reproduce this.

              Show
              cfulton Charles Fulton added a comment - I can no longer reproduce this.
              cfulton 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: