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

quiz reports show deleted user attempts

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5
    • Quiz
    • MOODLE_405_STABLE
    • 83663-quiz-hide-deleted-user-main
    • Hide

      Setup:

      1. create a course
      2. create a quiz with at least one question
      3. create a user
      4. enrol this new user in the course created above
      5. log in with the user created above
      6. answer the quiz
      7. log out
      8. log in as admin
      9. return to the quiz activity
      10. go to Results tab
      11. click on Show report button
      12. ensure the user attempt is visible
      13. delete the user created above in Administration > Users > Browse list of users

      Test overview report:

      1. log in as admin
      2. go to the quiz activity
      3. go to Results tab
      4. select all users who have attempted the quiz in Attempts from field
      5. click on Show report button
      6. ensure the deleted user is not visible in report

      Test responses report:

      1. log in as admin
      2. go to the quiz activity
      3. go to Results tab
      4. select Responses in dropdown menu at the top left
      5. click on Show report button
      6. ensure the deleted user is not visible in report
      Show
      Setup: create a course create a quiz with at least one question create a user enrol this new user in the course created above log in with the user created above answer the quiz log out log in as admin return to the quiz activity go to Results tab click on Show report button ensure the user attempt is visible delete the user created above in Administration > Users > Browse list of users Test overview report: log in as admin go to the quiz activity go to Results tab select all users who have attempted the quiz in Attempts from field click on Show report button ensure the deleted user is not visible in report Test responses report: log in as admin go to the quiz activity go to Results tab select Responses in dropdown menu at the top left click on Show report button ensure the deleted user is not visible in report
    • Hide

      Code verified against automated checks.

      Checked MDL-83663 using repository: https://github.com/DSI-Universite-Rennes2/moodle.git

      More information about this report

      Built on: Mon 11 Nov 2024 08:06:42 PM UTC

      Show
      Code verified against automated checks. Checked MDL-83663 using repository: https://github.com/DSI-Universite-Rennes2/moodle.git main (0 errors / 0 warnings) [branch: 83663-quiz-hide-deleted-user-main | CI Job ] More information about this report Built on: Mon 11 Nov 2024 08:06:42 PM UTC

      When you delete a user at site level, theirs attempts are still visible in the quiz reports.

            jboulen Julien Boulen
            jboulen Julien Boulen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.