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

Try again button wrongly appears during teacher reviews of in-progresss quiz attempts using Interactive behaviour

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.3, 3.2, 3.6.5, 3.7.1
    • Fix Version/s: 3.6.6, 3.7.2
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      The new unit test is a good test of this.

      If you really want to test manually:

      1. Create a quiz with How questions behave set to Interactive with multiple tries.
      2. Add two short-answer questions. Make sure the questions have Hints set in the 'Multiple tries' section of the create question form.
      3. As a student start an attempt.
      4. Put in a wrong answer to Question 1, and press check. Leave Question 2 unanswered. (This means that now Q1 has a Try again button, and Q2 has a Check button. In Q1 the answer intput box should be disabled, and in Q2 it should be enabled.)
      5. As teacher, go in and review the student's attempt.
      6. Verify Q1 has a Try again button.
      7. Verify Q2 has a Check button.
      8. Verify All input boxes and buttons in both questions are disabled.
      Show
      The new unit test is a good test of this. If you really want to test manually: Create a quiz with How questions behave set to Interactive with multiple tries. Add two short-answer questions. Make sure the questions have Hints set in the 'Multiple tries' section of the create question form. As a student start an attempt. Put in a wrong answer to Question 1, and press check. Leave Question 2 unanswered. (This means that now Q1 has a Try again button, and Q2 has a Check button. In Q1 the answer intput box should be disabled, and in Q2 it should be enabled.) As teacher, go in and review the student's attempt. Verify Q1 has a Try again button. Verify Q2 has a Check button. Verify All input boxes and buttons in both questions are disabled.
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull 3.7 Branch:
    • Pull Master Branch:

      Description

      Steps to reproduce

      1. You need a quiz with How questions behave set to Interactive with multiple tries.
      2. The quiz must contain two questions (e.g. multiple choice) with at least one hint each (under Multiple tries section on the question setup form).
      3. As a student start an attempt, select an answer to Question 1, and press check. Leave Question 2 unanswered.
      4. As teacher, go in and review the student's attempt.

      Expected result: Question 1 shows a disabled Try again button, Question 2 shows a disabled Check button (the same buttons that a student would see).

      Actual result: Teacher sees a disabled Try again button for both questions.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            timhunt Tim Hunt
            Peer reviewer:
            Simey Lameze
            Integrator:
            Jun Pataleta
            Tester:
            Janelle Barcega
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Sep/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 2 minutes
                3h 2m