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

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.3, 1.7
    • Fix Version/s: 1.6.4, 1.7.1, 1.8
    • Component/s: Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE
    • Fixed Branches:
      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

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Tester:
              Nobody
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/Jan/07