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

Block Quiz Navigation shows cloze question as answered even though it´s not.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Quiz
    • Labels:
      None
    • Testing Instructions:
      Hide

      0. Run the unit tests (2.3+)

      1. Create a Cloze question comprising just multi-choice subquestions. e.g.

      Match the following cities with the correct state:
      * San Francisco: {1:MULTICHOICE:=California#OK~Arizona#Wrong}
      * Tucson: {1:MULTICHOICE:California#Wrong~%100%Arizona#OK}
      * Los Angeles: {1:MULTICHOICE:=California#OK~Arizona#Wrong}
      * Phoenix: {1:MULTICHOICE:%0%California#Wrong~=Arizona#OK}

      2. Add the question to a quiz using Deferred feedback mode.

      3. Preview the quiz. When you get to the Cloze question, answer one part, but leave the other parts blank.

      4. Click next. The state of the Cloze questions should not change to 'Answer saved'. It should change to 'Incomplete answer'.

      Show
      0. Run the unit tests (2.3+) 1. Create a Cloze question comprising just multi-choice subquestions. e.g. Match the following cities with the correct state: * San Francisco: {1:MULTICHOICE:=California#OK~Arizona#Wrong} * Tucson: {1:MULTICHOICE:California#Wrong~%100%Arizona#OK} * Los Angeles: {1:MULTICHOICE:=California#OK~Arizona#Wrong} * Phoenix: {1:MULTICHOICE:%0%California#Wrong~=Arizona#OK} 2. Add the question to a quiz using Deferred feedback mode. 3. Preview the quiz. When you get to the Cloze question, answer one part, but leave the other parts blank. 4. Click next. The state of the Cloze questions should not change to 'Answer saved'. It should change to 'Incomplete answer'.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Inside our Moodle 2.2.2 (20120329) version we are using the quiz navigation block that comes with the quiz module. This block lists every question inside the quiz inside a square and numbers it. After answering a question the square inside the block turns grey. If a student continues to the next question without answering the previous one, the square stays grey.

      A peculiar situation happens when the test contains an embedded (cloze) question. Upon clicking the next button without answering the question, the square inside the quiz navigation block turns grey. This might confuse students thinking they have answered the question. The same effect occurs when using the standard theme.

      I have some screenshots illustrating the functionality and the undesired effect. I have blurred the content text because these screenshots were taken from a live environment from one of our clients.
      Picture 1: This shows the block with grey and white squares. The grey squares are answered questions
      http://www.avetica.nl/Pic2.png

      Picture 2: This shows an embedded question (cloze)
      http://www.avetica.nl/Pic1.png

      Picture 3: upon clicking "continue" the square turns grey. Even though the question wasn't answered
      http://www.avetica.nl/Pic3.png

      How to reproduce:
      1. Create multiple choice questions
      2. Create embedded (cloze) questions
      3. Create a test including the questions
      4. Make sure the test is shown with the quiz navigation block
      5. See the functionality of the block when answering a multiple choice question (square turns grey) and not answering one (square stays white).
      6. Do not answer an embedded (cloze) question and see the square turning grey.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Sep/12