Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.11.10, 4.0.4
Description
In moodleform_mod::validation(), the parent::validation() call is made to allow the parent class (moodleform) to perform validation steps that may need to happen globally. However, two instructions later in the function, the errors array that was returned is immediately overwritten with an empty array.
This has been a problem since Moodle 2.0, but it doesn't cause any problems at this moment. However, fixing the issue now avoids future surprises.
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-12133 problems with changed number of parameters of validate($date, $files)
-
- Closed
-