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

Allow restoration of 'complex' enrolment mechanisms (non exact)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.1.3, 2.2, 2.2.1
    • None
    • Enrolments
    • None
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      Replication instructions

      • backup a course with users enrolled who aren't in either manual, or self (e.g. database);
      • restore into a new course

      Expected Results

      All users restored

      Actual Results

      Users who are enrolled and not in the 'manual', or 'self' enrolment mechanisms are not enrolled

      Show
      Replication instructions backup a course with users enrolled who aren't in either manual, or self (e.g. database); restore into a new course Expected Results All users restored Actual Results Users who are enrolled and not in the 'manual', or 'self' enrolment mechanisms are not enrolled

    Description

      backup/moodle2/restore_stepslib.php includes the comment:

      Skipping '{$data->enrol}' enrolment plugin. Will be implemented before 2.0 release

      This is wrapped around an if statement checking whether the enrolment plugin supports an ENROL_RESTORE_TYPE of ENROL_RESTORE_EXACT

      Attachments

        Issue Links

          Activity

            People

              moodle.com Moodle HQ
              dobedobedoh Andrew Lyons
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: