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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
    • Environment:
      Linux Apache2 MySQL 5.1
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE

      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

              Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              shanethomas Shane Thomas
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: