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

fatal error when running all unit test in grade_tree

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • 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

      I am getting
      Pass: lib/simpletest/grade/simpletest/testgradecategory.php / ? grade_category_test / ? test_grade_category_aggregate_grades / ?
      Within expectation [Float: -64.9] and [Float: 135.1] at [/home/skodak/workspace/moodle/lib/simpletest/grade/simpletest/testgradecategory.php line 206]
      Fatal error: Cannot use object of type grade_item as array in /home/skodak/workspace/moodle/lib/grade/grade_tree.php on line 161

      running PHP 5.2.0

        Attachments

          Activity

            People

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