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

The file "moodle/backup/moodle2/restore_qtype_plugin.class.php" is missing "new" to instantiate the "restore_step_exception" class

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.1
    • None
    • Backup
    • Linux Apache2 MySQL 5.1
    • MOODLE_20_STABLE
    • Easy

    Description

      This is an easy fix, "new" is left off of the instantiation of the "restore_step_exception" class. Without this the restore course proces fails under certain circumstances.

      1. Edit file "moodle/backup/moodle2/restore_qtype_plugin.class.php"
      2. Go to line 142 and add "new" between "throw" and "restore_step_exception"

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              shanethomas Shane Thomas
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: