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

Duplicate runs on modules that do not support backup/restore

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.1.1, 2.2, 2.3
    • 2.2.5, 2.3.2
    • Backup
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MDL-29563_master
    • Easy
    • Hide
      1. Download and install a contrib module without backup2 support, for example: http://moodle.org/plugins/view.php?plugin=mod_videochat (throws a few notices but it's ok for this testing)
      2. Create / goto a course and add an assignment and a instance of the "module without backup2 support"
      3. Only the assignment instance should have the duplicate icon
      4. Copy the URL of the duplicate action of the assignment instance and change the instance id for the "module without backup2 support" instance id
      5. At the next screen click continue
      6. There should appear an error message explaining the situation and a continue button to return to the course view page
      Show
      Download and install a contrib module without backup2 support, for example: http://moodle.org/plugins/view.php?plugin=mod_videochat (throws a few notices but it's ok for this testing) Create / goto a course and add an assignment and a instance of the "module without backup2 support" Only the assignment instance should have the duplicate icon Copy the URL of the duplicate action of the assignment instance and change the instance id for the "module without backup2 support" instance id At the next screen click continue There should appear an error message explaining the situation and a continue button to return to the course view page

    Description

      Some modules may not support backup/restore. If they do not, then you get a fatal error about it's backup class does not exist at backup/util/factories/backup_factory.class.php on line 107

      Attachments

        Issue Links

          Activity

            People

              dmonllao David Monllaó
              bushido Mark Nielsen
              Rajesh Taneja Rajesh Taneja
              Sam Hemelryk Sam Hemelryk
              Adrian Greeve Adrian Greeve
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/12