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

Remove Assignment 2.2 (mod_assignment) from core

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MDL-72350-master
    • Hide
      1. Login as admin.
      2. Go to "Site administration > Plugins > Plugins overview".
      3. Verify there is no longer a mention of 'Assignment 2.2'.
      4. Access to "Site administration > Courses > Restore course".
      5. Import the mootieuk12.mbz backup file.
      6. Check the following error is displayed while restoring backup: "Invalid get_string() identifier: 'pluginname' or component 'assignment'. Perhaps you are missing $string['pluginname'] = ''; in mod/assignment/lang/en/assignment.php?"
      7. Continue restoring the backup into the default category with the default values.
      8. Access to the restored course.
      9. Check that the "Preparation" section has only 2 activities ("Assignment 2: Join our discussion forum" and "Assignment 3: Give your vote"). The assignment activities "Assignment 1: Create your personal profile" and "Assignment 4: Create and submit a paper" shouldn't be created.
      Show
      Login as admin. Go to "Site administration > Plugins > Plugins overview". Verify  there is no longer a mention of 'Assignment 2.2'. Access to "Site administration > Courses > Restore course". Import the  mootieuk12.mbz  backup file. Check the following error is displayed while restoring backup: "Invalid get_string() identifier: 'pluginname' or component 'assignment'. Perhaps you are missing $string ['pluginname'] = ''; in mod/assignment/lang/en/assignment.php?" Continue restoring the backup into the default category with the default values. Access to the restored course. Check that the "Preparation" section has only 2 activities ("Assignment 2: Join our discussion forum" and "Assignment 3: Give your vote"). The assignment activities "Assignment 1: Create your personal profile" and "Assignment 4: Create and submit a paper" shouldn't be created.

    Description

      The Assignment 2.2 activity module has been disabled by default since 2012 but was kept to enable pre-2.2 backups to be restored and have the assignments auto-converted to new assignments.

      Let's remove it from Moodle 4.0 and add it to the plugins directory for anyone who still needs to restore pre-2.2 backups.

      Attachments

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              sarjona Sara Arjona (@sarjona)
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 41 minutes
                  2h 41m