Moodle
  1. Moodle
  2. MDL-27164

In the Add/remove users to groups screen, users are listed under Student and Mutiple roles, yet none of the users listed under Mutiples roles have mutiple roles

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2, 2.3.3, 2.4.1
    • Fix Version/s: 2.3.5, 2.4.2
    • Component/s: Groups
    • Environment:
      Moodle 2.0.2+ (Build: 20110330)
      php 5.3.3
      MySQL 5.5.9
    • Testing Instructions:
      Hide
      1. Create two courses, A and B
      2. Manually enrol 2 users (Bob and John) as students on both courses
      3. Manually enrol 2 users (Eve and Kate) as teachers on both courses
      4. Add a course meta link to course B on course A, so that the users have 2 enrolments on course A
      5. Create a group in course A and go to the add users screen
      6. Make sure none of the users appear under "Multiple roles"
      7. Make sure John and Bob are listed under "Student"
      8. Make sure Kate and Eve are listed under "Teacher"
      Show
      Create two courses, A and B Manually enrol 2 users (Bob and John) as students on both courses Manually enrol 2 users (Eve and Kate) as teachers on both courses Add a course meta link to course B on course A, so that the users have 2 enrolments on course A Create a group in course A and go to the add users screen Make sure none of the users appear under "Multiple roles" Make sure John and Bob are listed under "Student" Make sure Kate and Eve are listed under "Teacher"
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull 2.4 Branch:
      MDL-27164-MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-27164-master
    • Rank:
      16817

      Description

      When viewing the Add/remove users to a group page, there are two lists:
      -Group members
      -Potential members

      In both lists, users appear under two headings: 'Student' and 'Multiple roles'. This is despite the fact that none of the users have multiple roles, i.e. they all have the role of student in the course (and entire system) and no other roles.

      Note, this seems to only happen in courses that have 'Course meta link' as an enrollment method. Users appearing under the heading of 'Student' are members of no or one group. Users appearing under Multiple roles are members of multiple groups, although some are in no groups, but perhaps in multiple courses.

      It seems that the term 'role' is being confused with group or course membership.

      To replicate this issue:

      1. Create two courses, A and B, with a user enrolled manually as student on both
      2. Add a course meta link to course B on course A, so that the user has 2 enrolments on course A as a student
      3. Create a group in course A and go to the add users screen
      4. The user appears under "Multiple roles"

        Activity

          People

          • Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: