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

Exclude inactive users' responses from Choice report (with an option to include)

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisites:

      • A course with at least 3 active enrolments.

      Test:

      • Enter the course as a teacher and create a Choice activity, using default settings.
      • Login as a student and respond to the Choice. Repeat for the other students.
      • Login as a teacher and view the Choice report, making sure all responses are included.
      • Go to Course administration -> Users -> Enrolled users.
      • Suspend at least one student's enrolment.
      • Enable an expiry date in the past for at least one student.
      • Go back to the Choice report and verify that the suspended/expired students' responses are no longer included, and that the response count displayed in the Admin block and breadcrumb navigation is correct.
      • Go to the Choice settings page and expand the 'Results' section.
      • Change 'Include responses from inactive/suspended users' to 'Yes', and save.
      • View the Choice report one more time and verify that all responses are now displayed again, and that the response count displayed in the Admin block and breadcrumb navigation is still correct.
      Show
      Prerequisites: A course with at least 3 active enrolments. Test: Enter the course as a teacher and create a Choice activity, using default settings. Login as a student and respond to the Choice. Repeat for the other students. Login as a teacher and view the Choice report, making sure all responses are included. Go to Course administration -> Users -> Enrolled users. Suspend at least one student's enrolment. Enable an expiry date in the past for at least one student. Go back to the Choice report and verify that the suspended/expired students' responses are no longer included, and that the response count displayed in the Admin block and breadcrumb navigation is correct. Go to the Choice settings page and expand the 'Results' section. Change 'Include responses from inactive/suspended users' to 'Yes', and save. View the Choice report one more time and verify that all responses are now displayed again, and that the response count displayed in the Admin block and breadcrumb navigation is still correct.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-43770-master

      Description

      Currently the Choice module displays responses from all enrolled users, including those who have subsequently been suspended or whose enrolments have expired. I think these responses should be excluded from the report by default, with an option to include them if they are required.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15