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

'all users who have attempted a quiz' in responses report generates exception

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2
    • 3.2
    • Quiz
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • wip-MDL-57234-master
    • Hide
      1. In quiz, go to Quiz administration > Results > Responses as a teacher.
      2. Choose Attempts from "all users who have attempted a quiz" and click "Show report".
      3. Check no error and that the report now displays expected results.
      Show
      In quiz, go to Quiz administration > Results > Responses as a teacher. Choose Attempts from "all users who have attempted a quiz" and click "Show report". Check no error and that the report now displays expected results.

    Description

      Steps to reproduce:

      1. In quiz, go to the responses report as a teacher
      2. Choose "Attempts from" 'all users who have attempted a quiz' results

        Exception - Argument 5 passed to quiz_attempts_report::process_actions() must be an instance of core\dml\sql_join, array given, called in [dirroot]/mod/quiz/report/responses/report.php on line 112
         
        More information about this error
         
        ×Debug info: 
        Error code: generalexceptionmessage
        ×Stack trace:
        line 286 of /mod/quiz/report/attemptsreport.php: TypeError thrown
        line 112 of /mod/quiz/report/responses/report.php: call to quiz_attempts_report->process_actions()
        line 96 of /mod/quiz/report.php: call to quiz_responses_report->display()
        

      Attachments

        Issue Links

          Activity

            People

              jb23347 John Beedell
              poltawski Dan Poltawski
              Tim Hunt Tim Hunt
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              John Okely John Okely
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/16