mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
031cf251c1
When the course module cache is out of date during a gradebook re-calculcation it throws throws exceptions because the module cannot be found. This prevents access to gradebook or any type of grading functions until the cache is rebuilt. When the cache still has no module record we log an error and return the course context.