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

Forum HTML export to portfolio generates invalid HTML

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Deferred
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: Forum, Portfolio
    • Labels:
    • Testing Instructions:
      Hide

      Ensure that portfolios are enabled for the site and that the file download portfolio plugin is enabled.
      Create a forum.
      Create a forum topic.
      In the top left, set the type to 'File Download'.
      Click on the 'Export whole discussion' button.
      Set the format to 'HTML'.
      Click the 'Next' button.
      Click the 'Download' button.

      The downloaded file is invalid, weblint explains it better than I can:

      $ weblint discussion.html
      discussion.html (1:380) <body> tag is required
      discussion.html (1:380) <head> tag is required
      discussion.html (1:380) <html> tag is required
      discussion.html (1:380) <title> tag is required

      Show
      Ensure that portfolios are enabled for the site and that the file download portfolio plugin is enabled. Create a forum. Create a forum topic. In the top left, set the type to 'File Download'. Click on the 'Export whole discussion' button. Set the format to 'HTML'. Click the 'Next' button. Click the 'Download' button. The downloaded file is invalid, weblint explains it better than I can: $ weblint discussion.html discussion.html (1:380) <body> tag is required discussion.html (1:380) <head> tag is required discussion.html (1:380) <html> tag is required discussion.html (1:380) <title> tag is required
    • Affected Branches:
      MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-31754-master-1

      Description

      When exporting a forum to HTML, the HTML generated is invalid.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rajeshtaneja Rajesh Taneja
                Reporter:
                simons Simon Story
                Participants:
                Component watchers:
                Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                6 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: