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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.7, 2.4.4, 2.5
    • Fix Version/s: 2.3.8, 2.4.5
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  8/Jul/13