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

Clicking on "Student" from users course profile should filter by students

    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. Enrol two students in the course.
      3. Enrol two teachers in the course.
      4. Enrol two managers in the course.
      Test 1
      1. Log in as one of the students.
      2. Go to the course.
      3. Visit the participants page.
      4. Click the other student's picture.
      5. Click on the 'Student' link under 'Roles' in their course profile.
      6. Ensure you go to the page with the student filter active.
      7. Change the URL so that roleid is set to '1' (manager).
      8. Confirm you see 'No filters applied'.
      Test 2
      1. Log in as one of the teachers.
      2. Go to the course.
      3. Visit the participants page.
      4. Click on the other teacher's picture.
      5. Click on the 'Teacher' link under 'Roles' in their course profile.
      6. Ensure you go to the page with the teacher filter active.
      7. Change the URL so that roleid is set to '1' (manager).
      8. Confirm you see 'No filters applied'.
      Test 3
      1. Log in as one of the managers.
      2. Go to the course.
      3. Visit the participants page.
      4. Click on the other manager's picture.
      5. Click on the 'Manager' link under 'Roles' in their course profile.
      6. Confirm you see the 'Managers' filter applied.
      Test 4
      1. Log in as one of the students.
      2. Go to the course.
      3. Look in the select box and check what roles you can filter by - make a mental note.
      4. Change the URL and add '&roleid=XYZ' where XYZ is the id of a role. Go through all the roles on the site and confirm only the roles that were displayed in the previous step are applied.
      Show
      Prerequisite. Create a course. Enrol two students in the course. Enrol two teachers in the course. Enrol two managers in the course. Test 1 Log in as one of the students. Go to the course. Visit the participants page. Click the other student's picture. Click on the 'Student' link under 'Roles' in their course profile. Ensure you go to the page with the student filter active. Change the URL so that roleid is set to '1' (manager). Confirm you see 'No filters applied'. Test 2 Log in as one of the teachers. Go to the course. Visit the participants page. Click on the other teacher's picture. Click on the 'Teacher' link under 'Roles' in their course profile. Ensure you go to the page with the teacher filter active. Change the URL so that roleid is set to '1' (manager). Confirm you see 'No filters applied'. Test 3 Log in as one of the managers. Go to the course. Visit the participants page. Click on the other manager's picture. Click on the 'Manager' link under 'Roles' in their course profile. Confirm you see the 'Managers' filter applied. Test 4 Log in as one of the students. Go to the course. Look in the select box and check what roles you can filter by - make a mental note. Change the URL and add '&roleid=XYZ' where XYZ is the id of a role. Go through all the roles on the site and confirm only the roles that were displayed in the previous step are applied.
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60045_master-v2

      Description

      This is a regression from 3.3.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              damyon Damyon Wiese
              Peer reviewer:
              Adrian Greeve
              Integrator:
              Dan Poltawski
              Tester:
              John Okely
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

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