-
Bug
-
Resolution: Fixed
-
Minor
-
2.8
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE
-
MDL-47637-master -
When using Natural aggregation, outcome items have incorrect weights when outcomes are not included in aggregation for the category they are in. The weights are calculated as if the outcome items were included. However, the aggregation calculation is correct, just it could be confusing. The automatic weights assigned to outcomes should be 0 when outcomes are not included and should be changed to natural weight if outcomes are included.
Reproduction steps
- Go to admin settings and enable outcomes
- Create a course
- Add an ordinary grade item (either an activity module, or just add on Grades > Setup > Categories and items)
- Create an outcome
- Add the outcome to the course
- Add an outcome grade item (Grades > Setup > Categories and items)
- The course total will only be the max value of the ordinary grade item, and the outcome item will not contribute to score. (outcome items are not included by default) However, the weight displayed is incorrect.