Moodle

Grade exceptions in 1.9 do not work

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.4
  • Component/s: Gradebook
  • Labels:
    None
  • Environment:
    WinXP, SP2
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

I'm running the latest Moodle stable release (16th April 2008).
When I try to exclude an grade item from grading I get this error 'Fatal error: Call to undefined function grade_floats_different() in C:\Programas\xampp\htdocs\moodle\grade\edit\tree\grade.php on line 188'

The error appears since I turned the debugger on. Before that, I just got a blank screen and the option was not saved.

Workaround would be to set these "excluded" grades to zero and then, exclude empty grades from aggregation, but in some cases (when students get zero because they haven't submitted their work, for instance), this isn't really a viable solution.

Activity

Hide
Petr Škoda (skodak) added a comment -

hello,
please try a cvs update or download a fresh package - I am sure this function is in lib/gradelib.php, most probably there is something wrong in your php files.

Show
Petr Škoda (skodak) added a comment - hello, please try a cvs update or download a fresh package - I am sure this function is in lib/gradelib.php, most probably there is something wrong in your php files.
Hide
Robert Russo added a comment -

I can also verify that this function works fine.

Show
Robert Russo added a comment - I can also verify that this function works fine.
Hide
Sónia Noronha added a comment -

Hi Petr,

I'm sorry for not answering to you any sooner. I updated my version of Moodle and it works fine now. Thank you!

Show
Sónia Noronha added a comment - Hi Petr, I'm sorry for not answering to you any sooner. I updated my version of Moodle and it works fine now. Thank you!

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: