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

Regression in 3.5 LTS: Unable to filter by No Groups on Participants Page (backport of MDL-61967)

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      It should be covered by Behat. However, here there are also some manual tests.

      Setup

      1. Prepare a course with 5 students (s1...s5) and 1 teacher (t1)

      Testing scenario 1 (No groups)

      1. Access as teacher to the participants page of this course
        • CHECK that the filter "Group: No group" doesn't appear

      Testing scenario 2 (Separate groups as teacher)

      1. Access as teacher to the course
      2. Edit course settings and choose "Separate groups" as "Group mode"
      3. Go to the participants page
      4. Create 2 groups (g1 and g2)
      5. Add students s1 and s2 to group g1
      6. Add student s1 to group g2
      7. Filter users by "Group: No group".
        • CHECK that the "Number of participants" is 4
        • CHECK that teacher t1 and students s3, s4 and s5 are displayed
        • CHECK that students s1 and s2 are not displayed
      8. Remove the filter
        • CHECK that there is no active filter
        • CHECK that the "Number of participants" is 6
        • CHECK that all the participants are displayed on the same page

      Testing scenario 3 (Separate groups as student)

      1. Access as student s2 to the participants page of the course (only has one group)
        • CHECK that the "Group: g1" filter is always enabled (even if you try to remove it)
        • CHECK that the "Group: No groups" doesn't appear
      2. Access as student s1 to the participants page of the course (belongs to both groups)
        • CHECK that some of the "Group: gX" is enabled by default
        • CHECK that can filter users from the other group
        • CHECK that the "Group: No groups" doesn't appear

      Testing scenario 3 (Visible groups as student)

      1. Access as teacher to the course
      2. Edit course settings and choose "Visible groups" as "Group mode"
      3. Access as student s2 to the participants page of the course (only has one group)
      4. Filter users by "Group: No group".
        • CHECK that the "Number of participants" is 4
        • CHECK that teacher t1 and students s3, s4 and s5 are displayed
        • CHECK that students s1 and s2 are not displayed
      5. Remove the filter
        • CHECK that there is no active filter
        • CHECK that the "Number of participants" is 6
        • CHECK that all the participants are displayed on the same page
      Show
      It should be covered by Behat. However, here there are also some manual tests. Setup Prepare a course with 5 students (s1...s5) and 1 teacher (t1) Testing scenario 1 (No groups) Access as teacher to the participants page of this course CHECK that the filter "Group: No group" doesn't appear Testing scenario 2 (Separate groups as teacher) Access as teacher to the course Edit course settings and choose "Separate groups" as "Group mode" Go to the participants page Create 2 groups (g1 and g2) Add students s1 and s2 to group g1 Add student s1 to group g2 Filter users by "Group: No group". CHECK that the "Number of participants" is 4 CHECK that teacher t1 and students s3, s4 and s5 are displayed CHECK that students s1 and s2 are not displayed Remove the filter CHECK that there is no active filter CHECK that the "Number of participants" is 6 CHECK that all the participants are displayed on the same page Testing scenario 3 (Separate groups as student) Access as student s2 to the participants page of the course (only has one group) CHECK that the "Group: g1" filter is always enabled (even if you try to remove it) CHECK that the "Group: No groups" doesn't appear Access as student s1 to the participants page of the course (belongs to both groups) CHECK that some of the "Group: gX" is enabled by default CHECK that can filter users from the other group CHECK that the "Group: No groups" doesn't appear Testing scenario 3 (Visible groups as student) Access as teacher to the course Edit course settings and choose "Visible groups" as "Group mode" Access as student s2 to the participants page of the course (only has one group) Filter users by "Group: No group". CHECK that the "Number of participants" is 4 CHECK that teacher t1 and students s3, s4 and s5 are displayed CHECK that students s1 and s2 are not displayed Remove the filter CHECK that there is no active filter CHECK that the "Number of participants" is 6 CHECK that all the participants are displayed on the same page
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:

      Description

      Upgraded from 3.1 LTS to 3.5 LTS and when we go to the participants page there is no option in the filters for No Groups. See MDL-61967 (Will help resolve) where it was fixed for version 3.6, but I believe since this is a regression/bug, I would like to ask for it to be backported atleast to 3.5.x LTS.

      This is important functionality and since 3.5 LTS is only a few months old, there will be lots of complaints about this functionality being missing when organisations upgrade.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                9 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jan/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 20 minutes
                  20m