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

intro and introformat fields missing from lesson backup/restore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.8, 2.8.5
    • Fix Version/s: 2.8.6
    • Component/s: Lesson
    • Labels:
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull Master Branch:
    • Testing Instructions:
      Hide
      • Create a backup of a lesson on a Moodle website that hasn't this patch applied putting some HTML fragment in the introduction field and embedding an image
      • Create a backup of a lesson on a Moodle website that has it's patch applied putting some HTML fragment in the introduction field and embedding an image
      • Verify that both backups restore OK without any warning or error but that in the first one the introduction's content is lost (it was not put in the backup and associated files are lost too) and in the second nothing is missing. In both when you edit lesson settings you should see an editor (but in the first case it should be empty )
      Show
      Create a backup of a lesson on a Moodle website that hasn't this patch applied putting some HTML fragment in the introduction field and embedding an image Create a backup of a lesson on a Moodle website that has it's patch applied putting some HTML fragment in the introduction field and embedding an image Verify that both backups restore OK without any warning or error but that in the first one the introduction's content is lost (it was not put in the backup and associated files are lost too) and in the second nothing is missing. In both when you edit lesson settings you should see an editor (but in the first case it should be empty )

      Description

      When MDL-38106 introduced the 2 fields for introduction (intro and intro editor) backup and restore were completely missed so these data are missing in all lessons backup

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmvedrine Jean-Michel Vedrine
              Reporter:
              jmvedrine Jean-Michel Vedrine
              Peer reviewer:
              Frédéric Massart Frédéric Massart
              Integrator:
              David Monllaó David Monllaó
              Tester:
              Mark Nelson Mark Nelson
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/15