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

regrade not considering responses given on last attempt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.6.6, 1.7.2, 1.8, 1.9
    • 1.6.4, 1.7.1
    • Questions, Quiz
    • None
    • All
    • Any
    • MOODLE_16_STABLE, MOODLE_17_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Problem:
      It was observed on a quiz using multiple attempts with build on last, no adaptative (but suitable to be observed in other cases too).

      As an example, imagine that on the 1st attempt, student answers question 1 2 3 leaving 4 5 6 clear. On 2nd attempt, the previous values are filled in
      and the students answers question 5. Everithing gets correctly graded, values on DB are OK.

      Then, without altering none of the questions, the teacher hits regrade tab, 2nd attempt only considers only question five 5 while grading,
      reseting results (grade, raw_grade, ..) out of 1 2 3, but strangely the answers are still there.

      Solution:
      Fix unchanged responses decision's code on question_process_responses() from lib/questionlib.php (backported from v1.8)

            timhunt Tim Hunt
            paulo.matos Paulo Matos
            Nobody Nobody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.