Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.8.7, 2.9.1, 3.0
-
Component/s: Assignment
-
Database:MySQL
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
-
Fixed Branches:MOODLE_28_STABLE, MOODLE_29_STABLE
-
Pull from Repository:
-
Pull Master Branch:mdl-50963
-
Pull Master Diff URL:
Description
When you create or edit an assignment and make changes to the "Grade" section (specifically the "Maximum points"), if you attempt to give a maximum point value of zero, the form submission is rejected and you receive this message:
Invalid Grade Value. This must be an integer between 0 and 300 |
Now, if you instead give a maximum point value of 300, the form submission will be accepted. I propose changing the message to be:
Invalid Grade Value. This must be an integer between 1 and 300. |
This better matches how people think when you use the word "between" and also makes valid the given minimum and maximum values.