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

Edit quiz page not fault tolerant of missing question types

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.9.5, 3.0.3
    • 2.9.4, 3.0.2
    • Quiz
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • Hide
      1. Create a quiz with How questions behave: immediate feedback.
      2. Go to the Edit quiz page.
      3. Add two true-false questions to the quiz.
      4. Go into the database, into the mdl_questions table. In the row for the second question, change the value in the qtype column to somethng non existent like 'unknown'.
      5. Purge all caches.
      6. Reload the edit quiz page.
      7. Verify that the page loads without errors. The missing question will be shown with a ? icon, and can be removed.

      (Previously, there was an exception message.)

      Show
      Create a quiz with How questions behave: immediate feedback. Go to the Edit quiz page. Add two true-false questions to the quiz. Go into the database, into the mdl_questions table. In the row for the second question, change the value in the qtype column to somethng non existent like 'unknown'. Purge all caches. Reload the edit quiz page. Verify that the page loads without errors. The missing question will be shown with a ? icon, and can be removed. (Previously, there was an exception message.)

      I found this on my develoment server.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Simey Lameze Simey Lameze
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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