You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using File Validator with allowEmpty set to true, when the upload file form is empty, MaxFileSize, MinFileSize, and MimeType Validator are exceptions.
Because the allowEmpty attribute is not inherited when creating an Instance such as MaxFileSize Validator in the File Validator.
Isn't it a file validation bug?
Should I make a bug issue and a pull request to fix it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When using File Validator with allowEmpty set to true, when the upload file form is empty, MaxFileSize, MinFileSize, and MimeType Validator are exceptions.
Because the allowEmpty attribute is not inherited when creating an Instance such as MaxFileSize Validator in the File Validator.
Isn't it a file validation bug?
Should I make a bug issue and a pull request to fix it?
I'm using phalcon v4.1.3 and php 7.4.
Beta Was this translation helpful? Give feedback.
All reactions