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

Editing a locked grade_item's settings gives fatal error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Lock a grade_item in the grader report, then try to edit its settings. I get this:

      ( ! ) Notice: Undefined property: grade_grade::$feedback in D:\VertrigoServ\www\moodle_head\grade\edit\tree\grade.php on line 146
      Call Stack

      1. Time Memory Function Location
        1 0.0267 171056 {main}( ) ..(null):0

        ( ! ) Notice: Undefined property: grade_grade::$feedbackformat in D:\VertrigoServ\www\moodle_head\grade\edit\tree\grade.php on line 147
        Call Stack
        # Time Memory Function Location
        1 0.0267 171056 {main}

        ( ) ..(null):0

      ( ! ) Fatal error: Call to undefined method stdClass::set_hidden() in D:\VertrigoServ\www\moodle_head\grade\edit\tree\grade.php on line 169
      Call Stack

      1. Time Memory Function Location
        1 0.0267 171056 {main}

        ( ) ..(null):0

        Attachments

          Activity

            People

            Assignee:
            nicolasconnault Nicolas Connault
            Reporter:
            nicolasconnault Nicolas Connault
            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