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

Forum post with attachment export to Google drive broken links

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.2, 3.5, 3.6.4, 3.7
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      Hide
      1. Please complete the testing instructions for each of the following QA tests. In each case you can ignore any parts asking to test anything other than the Google Drive export.
        1. MDLQA-311 - Forum
        2. MDLQA-308 - Assign
        3. MDLQA-309 - Chat
        4. MDLQA-312 - Glossary
        5. MDLQA-310 - Database (Note: this one refers to file export but just replace file export with Google Drive export)
      2. CONFIRM that when you export into the Google Drive it creates a new parent directory for each export that all of the files for that export get added to. The directory name should be in the format portfolio-export-<module name>-<timestamp> e.g. portfolio-export-forum-1558669163
      Show
      Please complete the testing instructions for each of the following QA tests. In each case you can ignore any parts asking to test anything other than the Google Drive export. MDLQA-311 - Forum MDLQA-308 - Assign MDLQA-309 - Chat MDLQA-312 - Glossary MDLQA-310 - Database (Note: this one refers to file export but just replace file export with Google Drive export) CONFIRM that when you export into the Google Drive it creates a new parent directory for each export that all of the files for that export get added to. The directory name should be in the format portfolio-export-<module name>-<timestamp> e.g. portfolio-export-forum-1558669163
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull 3.6 Branch:
    • Pull Master Branch:
      MDL-62403-master

      Description

      When exporting a forum post that has an attached file to Google drive the generated post.html file has broken links to the attached files. The links in the HTML refer to files in the "site_files" directory however the attached files are exported in the same directory as the HTML file.

      This was discovered in MDLQA-12013

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ryanwyllie Ryan Wyllie
                Reporter:
                ryanwyllie Ryan Wyllie
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours, 30 minutes
                  1d 2h 30m