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

Changing or deleting answer choices in a quiz after students submit answers can break quiz reviews

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 2.1
    • Quiz
    • Windows Server 2008 R2, IIS 7
    • Microsoft SQL
    • MOODLE_21_STABLE
    • Hide

      I could just tell all the instructors to not release a quiz to the class until they are absolutely sure that all the questions and answer choices are correct, and I guess that would prevent errors like this, but the instructors are telling me that getting their quizzes perfect prior to release to the class is not always possible. Mistakes creep through.

      Show
      I could just tell all the instructors to not release a quiz to the class until they are absolutely sure that all the questions and answer choices are correct, and I guess that would prevent errors like this, but the instructors are telling me that getting their quizzes perfect prior to release to the class is not always possible. Mistakes creep through.
    • Hide

      1. Take a quiz and submit it.
      2. Login as an instructor and delete one of the answer choices that was chosen in the quiz submission above.
      3. Review the quiz
      4. Now you should see a fatal error like I've provided in the screen shot.

      Show
      1. Take a quiz and submit it. 2. Login as an instructor and delete one of the answer choices that was chosen in the quiz submission above. 3. Review the quiz 4. Now you should see a fatal error like I've provided in the screen shot.

      Changing or deleting answer choices in a quiz after students submit answers can break quiz reviews. Let's say that for a given quiz, a student puts answer choice 'E' as his answer for question 1 and submits the quiz. Then the instructor decides that answer choice 'E' is inappropriate for problem 1 and deletes it. Now there is a data problem that creates a fatal code error when you try to review the quiz.

      Is it possible for someone who codes this module regularly to modify it so that this problem can be prevented or somehow mitigated in the future? i.e: allow the quiz writer to hide unwanted answer choices instead of deleting them, or bringing up a warning that says "you are trying to delete an answer choice that at least one student has already selected and submitted"? Or maybe some other means I'm not thinking of?

      I think that there would also be data problem if a student submitted a quiz that had a question 10, but then the instructor deleted the entire question out afterwards and then tried to review the submitted quiz (but I haven't tested that scenario yet)

            Unassigned Unassigned
            dylanwest Dylan West
            Votes:
            14 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved:

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