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

Possible to delete questions that are in use

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • None
    • 2.9.1
    • Questions, Quiz
    • MOODLE_29_STABLE

      We have run into a problem a few times recently where students and teachers go to review quiz attempts and get a fatal error. It seems that questions or question categories that were in use got deleted.

      While we haven't been able to determine exactly what happened, we have been able to reprodice the outward behaviour:

      1. Create Quiz A with questions in the course category
      2. Create Quiz B with the same questions
      3. In Quiz A, go into the question bank and move the questions to "Default of Quiz A"
      4. As a student, attempt Quiz B.
        • You should be able to review your attempt without issue
      5. As a teacher, delete Quiz A
      6. Now attempt to review the quiz attempt in Quiz B as a student or teacher, you will see "Can not find data record in database table context" fatal error

            Unassigned Unassigned
            emerrill Eric Merrill
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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