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

Quiz answers can be lost if user navigates before page reloads

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.4, 1.9
    • Fix Version/s: 1.8.3, 1.9
    • Component/s: Quiz
    • Labels:
      None
    • Environment:
      Sun v440, Solaris 10 with Coolstack 1.0 AMP
    • Database:
      Any
    • Affected Branches:
      MOODLE_16_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      One of our instructors has several quizzes, set up to appear in a secure window. These are mostly multiple choice questions, with images. There are typically 15-20 questions per page. They are not using a timer.

      Several students in this course have been having trouble with lost answers. Observing the tests, we see them do the following:

      1 Answer all questions on the page.
      2 Click 'Save without submitting'
      3 Click on one of the page navigation links (next/previous or a page number).

      At this point, answers given on the previous page are often lost. What seems to be happening is that after they click 'Save without submitting', they do not always wait for the page to completely reload before navigating to another page.

      It looks like when a user presses 'Save' and then a page link, the form will get submitted and processed twice. If the page hasn't finished reloading from the first submit before the second submit occurs, some or all of the answers on that form are cleared.

      Many of the students are using IE, which doesn't show a status bar in secure mode, so students seem to be having a hard time determining if the page has actually finished loading.

      A quick fix would be to disable the page navigation links until the page has fully reloaded.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Oct/07