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

Error messages on grader report & preferences

    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
    • Environment:
      IE7 and Firefox
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      I have started to look at the new gradebook in 1.9 (for the OU)

      Steps to reproduce:
      1. Working as administrator
      2. Set up new course
      3. Assigned 5 students to the course
      4. Set up a test quiz
      5. Two students took the quiz
      6. Viewed grader report which displayed ok with real valves
      7. Amended the following in preferences
      General
      grade display type - from site default() to percentage
      grades selected for - from site default() to nonempty grades
      Special rows
      column averages - from site default() to percentages
      8. Re-looked at grader report and error message/warning displayed above report (grader report looked ok):

      Warning: Division by zero in /var/www/html/icmatest/1.9/lib/weblib.php on line 5699
      Notice: Undefined variable: displaypage in /var/www/html/icmatest/1.9/lib/weblib.php on line 5736

      9. Went back to preferences and this contained error messages above the preference options:

      Notice: Undefined index: in /var/www/html/icmatest/1.9/grade/report/grader/preferences_form.php on line 111

      Notice: Undefined index: in /var/www/html/icmatest/1.9/grade/report/grader/preferences_form.php on line 111

      Notice: Undefined index: in /var/www/html/icmatest/1.9/grade/report/grader/preferences_form.php on line 111

      Notice: Undefined index: in /var/www/html/icmatest/1.9/grade/report/grader/preferences_form.php on line 111

      Notice: Undefined index: in /var/www/html/icmatest/1.9/grade/report/grader/preferences_form.php on line 111

      Notice: Undefined index: in /var/www/html/icmatest/1.9/grade/report/grader/preferences_form.php on line 111

      10. Noticed that the Overview Report now also contained a fatal error

      Fatal error: Call to undefined function grade_to_percentage() in /var/www/html/icmatest/1.9/grade/report/overview/lib.php on line 107

      11. Regardless of changes to preferences, these error messages/warnings will not go.

      (Screen shots attached)

      I can still test settings on prefences, but these error messages will not disapear. I can't look at the overview report - this will not work with the fatal error.

      End.

        Attachments

          Activity

            People

            Assignee:
            nicolasconnault Nicolas Connault
            Reporter:
            pjohnson Paul Johnson
            Tester:
            Andrew Davis
            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