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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      wip-MDL-57234-master

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  5/Dec/16