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

Self enrolment with group enrolment key fails with error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.6
    • 2.6
    • Enrolments
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • wip-mdl-42536
    • Hide

      1. Login as a teacher, access a course and follow the groups link in the course administration settings.
      2. Create a group and set a group enrolment key.
      3. Login as user1 (not yet enrolled in the course) and enrol in the course by supplying the group enrolment key
      4. Make sure no error is shown and user1 can see access course.
      5. Log in as teacher and make sure user1 is added to proper group.
      6. Run behat enrol_self

      Show
      1. Login as a teacher, access a course and follow the groups link in the course administration settings. 2. Create a group and set a group enrolment key. 3. Login as user1 (not yet enrolled in the course) and enrol in the course by supplying the group enrolment key 4. Make sure no error is shown and user1 can see access course. 5. Log in as teacher and make sure user1 is added to proper group. 6. Run behat enrol_self

    Description

      This test requires a course in which self-enrolment is allowed and for which an enrolment key has been set.

      1. Login as a teacher, access a course and follow the groups link in the course administration settings.
      2. Create a group and set a group enrolment key.
      3. Login as user2 (not yet enrolled in the course) and enrol in the course by supplying the group enrolment key and it fails with Call to undefined function groups_add_member() in /home/rajesht/moodles/im/moodle/enrol/self/lib.php on line 208

      Attachments

        Issue Links

          Activity

            People

              rajeshtaneja Rajesh Taneja
              rajeshtaneja Rajesh Taneja
              Frédéric Massart Frédéric Massart
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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