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

Locked gradebooks should be handled gracefully by quiz regrading

    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, Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Issue:
      Ugly error message when a quiz is regraded while its associated grade_item in the gradebook is locked

      Solution:
      Handle the exception correctly with a proper dialog:

      Warning, changing grades here in this quiz will not be reflected on the gradebook, because the grades are currently locked. Do you want to continue with the regrade anyway?

      Buttons: Regrade anyway / Cancel

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nicolasconnault Nicolas Connault
              Reporter:
              dougiamas Martin Dougiamas
              Tester:
              Nobody Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

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