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

Multiple-choice multi-response is_same_response check fails for blank responses

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.7, 2.4.4, 2.5
    • 2.3.8, 2.4.5
    • Questions
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • Hide

      1. Create a multiple-choice multi-response question.
      2. Preview the question.
      3. Make sure the preview options are such that the response history is visible. If not, change them.
      4. Just click Save without selecting any choices.
      5. The question state should not change. In particular, there should still ony be once step in the response history.

      Expected result: The question state is not changed.

      Show
      1. Create a multiple-choice multi-response question. 2. Preview the question. 3. Make sure the preview options are such that the response history is visible. If not, change them. 4. Just click Save without selecting any choices. 5. The question state should not change. In particular, there should still ony be once step in the response history. Expected result: The question state is not changed.

    Description

      To reproduce:

      1. Preview a multiple-choice multi-response question.
      2. Just click Save without selecting a response.

      Expected result: The question state is not changed.

      Actual result: An extra question step is created. "Saved {$a}" in the response history.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Dan Poltawski Dan Poltawski
            Mark Nelson Mark Nelson
            Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Jul/13