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

Coding error when opening Quiz -> Results -> Statistics

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      Testing MDL-40410 I've found a coding error when opening Quiz -> Results -> Statistics

      Affects only master.

      Coding error detected, it must be fixed by a programmer: start_progress() parent progress count must be at least 1
      

      Debug info: 
      Error code: codingerror
      Stack trace:
      line 104 of /lib/classes/progress/base.php: coding_exception thrown
      line 671 of /mod/quiz/report/statistics/report.php: call to core\progress\base->start_progress()
      line 612 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->analyse_responses_for_all_questions_and_subquestions()
      line 149 of /mod/quiz/report/statistics/report.php: call to quiz_statistics_report->get_all_stats_and_analysis()
      line 100 of /mod/quiz/report.php: call to quiz_statistics_report->display()
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jamiesensei Jamie Pratt
              Reporter:
              dmonllao David Monllaó
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: