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

regrade not considering responses given on last attempt

    XMLWordPrintable

Details

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

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              paulo.matos Paulo Matos
              Nobody Nobody
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                30/Mar/07