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

Error when attempting quiz restored from an old backup

XMLWordPrintable

    • 3
    • Team Alpha - Sprint 3 I3-2023

      Discovered by meowmiomew while testing MDLQA-18012.

      After restoring the backup file and starting an attempt on "A listening quiz" the following error is displayed:

      From timhunt on the QA chat: It is blowing up here

      But, really, that is because a few lines before, there is a call to $quizobj->preload_questions();, which does mod_quiz\question\bank\qbank_helper::get_question_structure($this->quiz->id, $this->context); which is basically one big DB query.

      And, that will be returning the wrong thing, presumably because the backup failed to covert the 1.9 data correctly.

            ilyatregubov Ilya Tregubov
            lameze Simey Lameze
            Mihail Geshoski Mihail Geshoski
            Tim Hunt Tim Hunt
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 27 minutes
                5h 27m

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