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

Make 1.9 blocks restorable in 2.3

    XMLWordPrintable

Details

    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-32880_master_3
    • Hide
      • Attempt to restore the attached Moodle 1.9 backup (backup-allblocks-20121120-1246.zip).
      • Confirm that it restores with no errors, and that all blocks (which exist in both 1.9 and 2.x) are present in the restored course.
      • Confirm that the Moodle logo image in the HTML block has been migrated (i.e. uses pluginfile.php rather than file.php).
      • Note that any blocks which store data outside the block config will be missing any such data (i.e. the rss_client block will not contain any feeds). This is because Moodle 1.9 does not back up that information, so it's not present in order to be restored. This behaviour is therefore consistent with restoring the 1.9 backup to a different instance of Moodle 1.9.
      Show
      Attempt to restore the attached Moodle 1.9 backup (backup-allblocks-20121120-1246.zip). Confirm that it restores with no errors, and that all blocks (which exist in both 1.9 and 2.x) are present in the restored course. Confirm that the Moodle logo image in the HTML block has been migrated (i.e. uses pluginfile.php rather than file.php). Note that any blocks which store data outside the block config will be missing any such data (i.e. the rss_client block will not contain any feeds). This is because Moodle 1.9 does not back up that information, so it's not present in order to be restored. This behaviour is therefore consistent with restoring the 1.9 backup to a different instance of Moodle 1.9.

    Description

      Blocks from a 1.9+ backup are not restored in Moodle 2.1 and higher (1.9 restore was unsupported previously). This is an extension of MDL-22414 and a narrowing of the now-closed MDL-32244. The roadmap (http://docs.moodle.org/dev/Roadmap) sort-of mentions this as a part of user data restoration but I haven't found a tracker item. Upgrading current production isn't an option for everyone, nor is cloning current production, upgrading that, and then doing a backup/restore.

      Attachments

        1. backup-allblocks-20121120-1246.zip
          9 kB
        2. Course1.9-1of2.png
          Course1.9-1of2.png
          343 kB
        3. course1.9-2of2.png
          course1.9-2of2.png
          221 kB
        4. restore-2.3-course.png
          restore-2.3-course.png
          217 kB
        5. restore2.3-selection_screen.png
          restore2.3-selection_screen.png
          168 kB

        Issue Links

          Activity

            People

              paul.n Paul Nicholls
              cfulton Charles Fulton
              David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Mark Nelson Mark Nelson
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              23 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jan/13