Moodle

Warning that you can't add overall to a quiz with 0 score was backwards

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.4
  • Fix Version/s: 1.9.5
  • Component/s: Quiz
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

This is a regression from MDL-18583. Sorry.

It was doing if $quizgrade != 0, rather than if $quizgrade == 0, when deciding to display the warning.

Note, the bug only affected the display of the warning text, the form actually functioned correctly.

Issue Links

Activity

Hide
Tim Hunt added a comment -

Fixed now in CVS, so will be in the next weekly. Alternatively, if you want to apply the fix manually, it is just two lines of code. See the 'Version control' tab of this bug for the patch.

Show
Tim Hunt added a comment - Fixed now in CVS, so will be in the next weekly. Alternatively, if you want to apply the fix manually, it is just two lines of code. See the 'Version control' tab of this bug for the patch.
Hide
Sam Hemelryk added a comment -

Thanks Tim confirmed the fix and both issues now closed

Show
Sam Hemelryk added a comment - Thanks Tim confirmed the fix and both issues now closed

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: