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

attempting a quiz that was restored into 2.1 from 1.9 has db troubles.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Backup, Quiz
    • Labels:
    • Testing Instructions:
      Hide

      restore the 1.9 backup into a 2.1 installation.
      1) attempt the quiz. the reported error shouldn't be there.

      Show
      restore the 1.9 backup into a 2.1 installation. 1) attempt the quiz. the reported error shouldn't be there.
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE

      Description

      Can not find data record in database table qtype_essay_options.

      More information about this error

      Debug info: SELECT * FROM

      {qtype_essay_options}

      WHERE questionid = ?
      [array (
      0 => '124',
      )]
      Stack trace:
      line 1253 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
      line 1230 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
      line 48 of /question/type/essay/questiontype.php: call to moodle_database->get_record()
      line 791 of /lib/questionlib.php: call to qtype_essay->get_question_options()
      line 816 of /lib/questionlib.php: call to _tidy_question()
      line 147 of /mod/quiz/attemptlib.php: call to get_question_options()
      line 122 of /mod/quiz/startattempt.php: call to quiz->load_questions()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mudrd8mz David Mudrák (@mudrd8mz)
                Reporter:
                nebgor Aparup Banerjee
                Participants:
                Component watchers:
                Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  1/Jul/11