-
Bug
-
Resolution: Fixed
-
Minor
-
4.4
-
MOODLE_404_STABLE
-
MOODLE_404_STABLE
-
MDL-81365-main -
- Consider the method validate_plugin_data_context() - it calls edit_instance_validation() see https://github.com/moodle/moodle/blob/main/lib/enrollib.php#L3572
- This is wrong since the method was designed to do context related validation only (see implementation of this function in cohort enrol plugin as example), while edit_instance_validation does many other checks so
So I think that call must be removed and function should become what it was before MDL-43056 which caused this regression