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

Incorrect grading when Each attempt builds on the last and questions on more than one page

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6.3, 1.7
    • 1.6.4, 1.7.1, 1.8
    • Quiz
    • None
    • MOODLE_16_STABLE, MOODLE_17_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE

    Description

      Peter Sereinigg noticed that when quiz attempts build on last one and questions are on several pages, the score is not calculated correctly - the problem is that when you press the finish button, only the score from the active page is calculated.

      Steps to reproduce:
      1/ create new quiz - Each attempt builds on the last-yes, Questions per page-3, Attempts allowed 4
      2/ create more than 3 question and add them to quiz
      3/ make first attempt - select some answers
      4/ make second attempt - but now only press save Submitt all and finish on first page
      5/ make third attempt - but now only press save Submitt all and finish on second page
      6/ each score is different - first is ok, second sums grades only only from first page and third from second page

      Attaching sample backup from latest 1.6.3+

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Nobody Nobody
              Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/Jan/07