-
New Feature
-
Resolution: Fixed
-
Minor
-
3.4
-
MOODLE_34_STABLE
-
MOODLE_34_STABLE
-
MDL-59443-master-filetypesvalidation -
-
3.4 Sprint 2
In MDL-53240 a new form element "filetypes" was introduced and we just started working on issues that make use of it (MDL-59299, MDL-56486).
The new form element comes with a util helper class that helps to detect unknown file types:
core_form\filetypes_util::get_unknown_file_types(). It was presumed that each form using this new element would perform its own validation and inform the user about unknown file types.
In the stable team discussions, it was suggested that the form element could ship with an implicit validation rule to check that all submitted values represent a valid file type. So that the element consumers would not need to do it.
This issue is to track the implementation of such an implicit validation rule.
- blocks
-
MDL-56486 Use filetype form element for workshop file type restrictions
- Closed
-
MDL-59299 Use new filetypes form element for assignment file types
- Closed
- has a non-specific relationship to
-
MDLSITE-5171 verify_commit_messages false positive counting "parents"
- Open
- has been marked as being related by
-
MDL-59544 Implicit validation of the filemanager and filepicker form elements
- Closed
-
MDL-68927 admin_setting_filetypes should validate for unknown filetypes
- Closed
- is blocked by
-
MDL-59452 Behat is unable to locate filetypes form element fields
- Closed