When we call those webservices if item is used in calculation formula we are breaking it. So we need to warn a user of the consequences - at least return a warning or smth
For example this delete_modules() - see https://github.com/moodle/moodle/blob/main/course/externallib.php#L2386 - it doesn't check if grade items are used in custom gradebook calculation formulas
- Discovered while testing
-
MDL-51360 Full course grade recalculation can have huge impact on opening/closing quizzes
- Closed
- has a non-specific relationship to
-
MDL-81833 Warn user in UI when activity or manual grade item to be deleted is used in calculation formula
- Open
- will help resolve
-
MDL-81808 Poor error handling in calculation formula when activity is deleted
- Open