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

Duplicate runs on modules that do not support backup/restore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.2, 2.3
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Backup
    • Labels:
    • Testing Instructions:
      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
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-29563_master

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Sep/12