-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.4 regressions, 4.5 regressions, 5.0
-
MOODLE_500_STABLE
Currently, when saving settings in Moodle and an error occurs, only the generic message is displayed:
Some settings were not changed due to an error
This message is generated in admin/settings.php, using only get_string('errorwithsettings', 'admin');, without displaying the specific error details stored in $adminroot->errors.
This makes it difficult to identify and fix the problem, especially for administrators without programming knowledge.
Proposal
Modify the behavior so that the specific errors contained in $adminroot->errors are also displayed to the user. This would greatly facilitate debugging and improve the administration experience.
Affected version
Tested in Moodle 404, 405, and 500.