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

Metacourse - enrollment expiration date entered when enrolling a student doesn't flow to the parent course

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a course1, enable self enrolment
      2. Create course2 and set up meta enrolment linking to the previous course
      3. Login as user and self enrol into course1
      4. Login as teacher/admin and manually enrol the same user into course1 (now he has two enrolments)
      5. Keep changing start/end dates of these two enrolments, enabling/disabling them
      6. Make sure after each change the enrolment in course2 is updated respectfully. Enrolment startdate should be the earliest start date from course1, enddate - the latest end date from course1.
      Show
      Create a course1, enable self enrolment Create course2 and set up meta enrolment linking to the previous course Login as user and self enrol into course1 Login as teacher/admin and manually enrol the same user into course1 (now he has two enrolments) Keep changing start/end dates of these two enrolments, enabling/disabling them Make sure after each change the enrolment in course2 is updated respectfully. Enrolment startdate should be the earliest start date from course1, enddate - the latest end date from course1.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_26_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:
      wip-MDL-34938-master

      Description

      Most of our courses are sold as a package which contains several courses which are to be assigned at the same time. Metacourse sounded like a perfect solution for this. I set up the empty child course. I then went into each parent course (4) and linked to the child course. Then I enrolled a user in the child course and set the enrollment period for 2 days as a test. This worked perfectly. On the third day I checked the child course and the user was no longer a participant. However, when I checked the parent courses the user was still a participant. It appears the expiration doesn't flow to the parent courses.

      I posted in the enrollment forum asking if I had overlooked something. Bob Puffer replied this was a bug.

      Our users have expiration dates for each course they are enrolled in. We were looking forward to using the metacourse because another LMS we used previously had something similar. If the expiration date only works of the enrollment in the child course then we can't use it.

      Also when enrolment method is disabled in the linked course, the enrolments in meta course are still enabled

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                16 Vote for this issue
                Watchers:
                23 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Sep/15