Moodle

Grade of new tests are zero!

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.2
  • Fix Version/s: 2.0
  • Component/s: Quiz
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

Hi,

I was wondering why it takes so long to get a quiz-report. It was the picture that overviewgraph.php draws. There is a division by zero in line 60:
$bandwidth = $quiz->grade / $bands;
because $bands is by default zero.

Even when I change maxgrade by hand - I have to do it twice at first time.

After that, there's no division by zero and everything works fine!

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: