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

Edit quiz page not fault tolerant of missing question types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.4, 3.0.2
    • Fix Version/s: 2.9.5, 3.0.3
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      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.)
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      I found this on my develoment server.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            timhunt Tim Hunt
            Peer reviewer:
            Simey Lameze
            Integrator:
            Dan Poltawski
            Tester:
            Adrian Greeve
            Participants:
            Component watchers:
            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:
              14/Mar/16