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

Error message showing after change to locked grade item

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9, 2.0
    • Component/s: Gradebook
    • Labels:
      None
    • Environment:
      1.9 beta gradebook
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Steps to reproduce:
      1. Quiz locked from 'Edit Categories & Items'
      2. Tutor goes to review of student quiz attempt and amends the grade of one question using 'Make comment or override grade' (Grade becomes 0 from 1). The tutor saves the changes to the grade.
      3. The resultant pop up window indicates that the grading item is locked (as expected), but contains the following error message:

      Test Question MC - multiple answers (3)
      Grading item is locked!
      line 175 of lib/gradelib.php: call to debugging()
      line 270 of mod/quiz/lib.php: call to grade_update()
      line 478 of mod/quiz/locallib.php: call to quiz_update_grades()
      line 69 of mod/quiz/comment.php: call to quiz_save_best_grade()

      Changes saved

      End.

        Attachments

          Activity

            People

            Assignee:
            lazyfish Yu Zhang
            Reporter:
            pjohnson Paul Johnson
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08