-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.2.10, 2.3.8, 2.4.5, 2.5.1
-
None
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
Hi all,
Function grade_update() in lib/gradelib.php permits a list of grade item properties to be changed, but iteminfo does not appear on the $allowed list and hence is blocked from updating.
Since this field is descriptive only (i.e. non active), and appears virtually nowhere in the code, failure to put it on the allowed list seems to be just an oversight, not a design feature. This is irritating and inconvenient if you actually want to use it. Could we add iteminfo to the $allowed list, or is there some 'dark side' to this?
-John