We have a Moodle 2.4 with a few assignments (weighted means of grades) and attendance records (pass-fail, not taken into account for the grade) set up in a template course that can then be copied. The gradebook works fine in the template course or in a course as long as the assignments aren't changed overall, but as soon as an assignment is changed in a new course, the course total doesn't calculate anymore.
I think it has something to do with the course total calculation when on /grade/edit/tree/calculation.php? for example. When I start a course from scratch with the settings as in the template course, no grade calculation is entered there. However, when I copy the template course, a calculation appears there and new items do not get an ID automatically and thus are left out of the calculation. When I add an ID and updated the calculation to include that ID, the changes are saved when I'm on the page, but don't appear anymore when I refresh the page.
When I remove the calculation, the course total is calculated. this would mean that in every newly created course I would need to take out the grade calculation entered in that field under Grades -> Edit -> Edit calculation.
Is that a normal behavior or is there something that I'm overlooking?