Moodle
  1. Moodle
  2. MDL-31385

In Moodle 2.1, when continuing a preview, existing answers are lost

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.7, 2.1.4
    • Fix Version/s: 2.0.8, 2.1.5
    • Component/s: Quiz
    • Labels:
      None
    • Testing Instructions:
      Hide

      1. Go to any quiz as a teacher.
      2. Start a preview, answer one question, and go to the next page. (You should be able to see the question change state in the navigation panel.)
      3. Use the breadcrumbs or the navigation block to go back to the quiz info page.
      4. Click the 'Continue the last attempt' button.
      5. Verify that the question you answered is still in the state you left it in.

      Show
      1. Go to any quiz as a teacher. 2. Start a preview, answer one question, and go to the next page. (You should be able to see the question change state in the navigation panel.) 3. Use the breadcrumbs or the navigation block to go back to the quiz info page. 4. Click the 'Continue the last attempt' button. 5. Verify that the question you answered is still in the state you left it in.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
    • Rank:
      37902

      Description

      This is a small regression from MDL-27860.

      Note that it was already fixed in 2.2+

        Issue Links

          Activity

          Hide
          Eloy Lafuente (stronk7) added a comment -

          The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week.

          TIA and ciao

          Show
          Eloy Lafuente (stronk7) added a comment - The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week. TIA and ciao
          Hide
          Aparup Banerjee added a comment -

          cool, this has been integrated into 20 and 21 branches, ready for testing.

          Show
          Aparup Banerjee added a comment - cool, this has been integrated into 20 and 21 branches, ready for testing.
          Hide
          Adrian Greeve added a comment -

          I tested this is 21 and 20. I previewed the quiz and then navigated out of the quiz. When I resumed the quiz the answers that I had made were still present. I also skipped ahead to another question, answered that, and then left again. The answers for that were also saved.
          Thanks Tim.

          Show
          Adrian Greeve added a comment - I tested this is 21 and 20. I previewed the quiz and then navigated out of the quiz. When I resumed the quiz the answers that I had made were still present. I also skipped ahead to another question, answered that, and then left again. The answers for that were also saved. Thanks Tim.
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Many thanks for your collaboration, this code has been integrated upstream and it's available in all the repositories.

          Closing, ciao

          Show
          Eloy Lafuente (stronk7) added a comment - Many thanks for your collaboration, this code has been integrated upstream and it's available in all the repositories. Closing, ciao

            People

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

              Dates

              • Created:
                Updated:
                Resolved: