-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.4.1, 4.4
-
MOODLE_34_STABLE, MOODLE_404_STABLE
Rubric criterion duplication does not result in an exact copy if there are only 2 levels entered. The result is a copy with an additional level worth 1 more point than the highest level of the initial level with the label 'undefined'.
Steps to replicate: add a rubric criterion with 2 levels (zero and something); click duplicate; observe new level with third level added and undefined as label. See attached screenshot (which is on our 3.4.1 but I verified this on moodle.demo.net)
Additionally
- Create a criterion with 3 levels - 0,1, and 2 points.
- delete level with 0 points.
- Duplicate
A new criterion is created with 3 levels instead of 2 and the point values are 1,2, and 3.
Deleting all levels result in a new criterion with 3 levels with "NaN" points on each.