-
Bug
-
Resolution: Fixed
-
Minor
-
2.5.3, 2.6.4, 2.7.1
-
MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_26_STABLE, MOODLE_27_STABLE
-
MDL-45029-master -
-
20
-
BACKEND Sprint 15
When adding new assignments to new courses, weight of grade in gradebook defaults to zero with the "weighted mean of grades" aggregation method in certain situations.
If new assignment is added, and gradebook has been set to "Simple Weighted Mean" then switched to desired "Weighted Mean of Grades" aggregation, default weight will show up as 1.0 as is intended.
However, once grading aggregation has been switched to "Weighted Mean of Grades", subsequent assignments added will have a default weight of 0 in the gradebook instead of intended 1.0.
Steps to Reproduce:
1. Add new course and save.
2. Go to new course main page, click "Turn on editing"
3. Go to first available week, click "Add an Activity or Resource"
4. Click Assignment and Add
5. Name assignment, add description, click "Save and Return to Course"
6. Click Course Administration<Grades<Categories and Items
7. Click full view option
8. Notice Aggregation is set at default to "Simple weighted mean of grades"
9. Select drop down menu for Aggregation, change to "Weighted mean of grades"
11. Save changes
12. Notice weight default shows up as 1.0 as intended.
13. Return to your course, and add new assignment with same steps detailed above within same week or in new week.
14. Save and Return to course
15. Click Course Administration<Grades<Categories and items
16. Click full view
17. Notice Aggregation is set to "Weighted mean of grades" as this setting was earlier changed and saved.
18. Notice default weight of most recently added assignment is now showing as 0, when it should be 1.0