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

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

    XMLWordPrintable

Details

    • MOODLE_26_STABLE
    • MOODLE_29_STABLE
    • MDL-43770-master
    • 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.

    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

              tonybutler Tony Butler
              tonybutler Tony Butler
              David Monllaó David Monllaó
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Jetha Chan Jetha Chan
              Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/May/15