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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.1.3, 2.2, 2.2.1
    • 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

      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

            moodle.com Moodle HQ
            dobedobedoh Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.