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

It is impossible to remove group filters even if course is in visible groups mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: User management
    • Labels:
    • Testing Instructions:
      Hide
      Prerequisite
      1. Create a course.
      2. Set the course group setting to 'Visible groups'.
      3. Enrol a few users in the course as students.
      4. Create two groups.
      5. Assign users into each group and make sure one student is in no group, one is only in the second group and one is in both groups.
      Test 1
      1. Log in as the student who is no group.
      2. Go to the course participation page.
      3. Check that the first group has been selected as default.
      4. Confirm only users in that group are shown.
      5. Delete the filter and press 'Filter'
      6. Confirm all users in the course are now shown (including user not in group).
      7. Select another group from the select box and press 'Filter'.
      8. Confirm only users in that group are shown.
      Test 2
      1. Log in as the student who is in both groups.
      2. Go to the course participation page.
      3. Check that the first group they belong to has been selected as default.
      4. Confirm only users in that group are shown.
      5. Delete the filter and press 'Filter'
      6. Confirm all users in the course are now shown (including user not in group).
      7. Select another group from the select box and press 'Filter'.
      8. Confirm only users in that group are shown.
      Test 3
      1. Log in as the student who is only in the second group.
      2. Go to the course participation page.
      3. Check that the group they belong to has been selected as default.
      4. Confirm only users in that group are shown.
      5. Delete the filter and press 'Filter'
      6. Confirm all users in the course are now shown (including user not in group).
      7. Select another group from the select box and press 'Filter'.
      8. Confirm only users in that group are shown.
      Test 4
      1. Log in as the admin
      2. Go to the course participation page.
      3. Check that no group is selected.
      4. Confirm all users are shown.
      5. Select a group from the select box and press 'Filter'.
      6. Confirm only users in that group are shown.
      Prerequisite for the following tests.
      1. Set the group mode setting for the course you created earlier to 'Separate groups'.
      Test 1 - Part 2
      1. Log in as the student who is in no group.
      2. Confirm you are shown the message 'Sorry, but you need to be part of a group to see this activity'.
      Test 2 - Part 2
      1. Log in as the student who is in both groups.
      2. Go to the course participation page.
      3. Check that the first group they belong to has been selected as default.
      4. Confirm only users in that group are shown.
      5. Delete the filter and press 'Filter'
      6. Check that the first group they belong to has been selected as default.
      7. Confirm only users in that group are shown.
      8. Delete the filter.
      9. Now select the other group they belong to and press 'Filter'.
      10. Confirm only users in that group are shown.
      Test 3 - Part 2
      1. Log in as the student who is only in the second group.
      2. Go to the course participation page.
      3. Check that the group they belong to has been selected as default.
      4. Confirm only users in that group are shown.
      5. Delete the filter and press 'Filter'
      6. Check that the group they belong to has been selected as default.
      7. Confirm only users in that group are shown.
      Test 4 - Part 2
      1. Log in as the admin
      2. Go to the course participation page.
      3. Check that no group is selected.
      4. Confirm all users are shown.
      5. Select a group from the select box and press 'Filter'.
      6. Confirm only users in that group are shown.
      Show
      Prerequisite Create a course. Set the course group setting to 'Visible groups'. Enrol a few users in the course as students. Create two groups. Assign users into each group and make sure one student is in no group, one is only in the second group and one is in both groups. Test 1 Log in as the student who is no group. Go to the course participation page. Check that the first group has been selected as default. Confirm only users in that group are shown. Delete the filter and press 'Filter' Confirm all users in the course are now shown (including user not in group). Select another group from the select box and press 'Filter'. Confirm only users in that group are shown. Test 2 Log in as the student who is in both groups. Go to the course participation page. Check that the first group they belong to has been selected as default. Confirm only users in that group are shown. Delete the filter and press 'Filter' Confirm all users in the course are now shown (including user not in group). Select another group from the select box and press 'Filter'. Confirm only users in that group are shown. Test 3 Log in as the student who is only in the second group. Go to the course participation page. Check that the group they belong to has been selected as default. Confirm only users in that group are shown. Delete the filter and press 'Filter' Confirm all users in the course are now shown (including user not in group). Select another group from the select box and press 'Filter'. Confirm only users in that group are shown. Test 4 Log in as the admin Go to the course participation page. Check that no group is selected. Confirm all users are shown. Select a group from the select box and press 'Filter'. Confirm only users in that group are shown. Prerequisite for the following tests. Set the group mode setting for the course you created earlier to 'Separate groups'. Test 1 - Part 2 Log in as the student who is in no group. Confirm you are shown the message 'Sorry, but you need to be part of a group to see this activity'. Test 2 - Part 2 Log in as the student who is in both groups. Go to the course participation page. Check that the first group they belong to has been selected as default. Confirm only users in that group are shown. Delete the filter and press 'Filter' Check that the first group they belong to has been selected as default. Confirm only users in that group are shown. Delete the filter. Now select the other group they belong to and press 'Filter'. Confirm only users in that group are shown. Test 3 - Part 2 Log in as the student who is only in the second group. Go to the course participation page. Check that the group they belong to has been selected as default. Confirm only users in that group are shown. Delete the filter and press 'Filter' Check that the group they belong to has been selected as default. Confirm only users in that group are shown. Test 4 - Part 2 Log in as the admin Go to the course participation page. Check that no group is selected. Confirm all users are shown. Select a group from the select box and press 'Filter'. Confirm only users in that group are shown.
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-59831_master

      Description

      This is a bug on the modified participants page for 3.4

      This applies to users without viewallgroups capability (students). Teachers who can see all groups can remove filter

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              damyon Damyon Wiese
              Peer reviewer:
              Jake Dallimore
              Integrator:
              David Monllaó
              Tester:
              Simey Lameze
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17