maxFileSize File validation error is not working on 5.73
Replicated on dmaster -
- Confirm the size of maxFileSize in settings - https://dmaster.demo.civicrm.org/civicrm/admin/setting/misc?reset=1
- Upload a contact image for more than the above size, eg 5MB.
- The form is saved with no validation error. File is not saved either.
- Upload a 1.5 MB file, this works as expected.
- There should be a validation error in the first case. Is this a new regression?
Seems to be affecting all file input fields, including custom file fields.
To replicate for custom file field:
- Create a custom field of type File at https://dmaster.demo.civicrm.org/civicrm/admin/custom/group/fields#/?gid=1
- Upload a file of eg 5MB and click save.
- File is not saved and there is no validation error on the form.