laminas / laminas-mvc-plugin-fileprg

Post/Redirect/Get plugin with file upload handling for laminas-mvc controllers
https://docs.laminas.dev/laminas-mvc-plugin-fileprg/
BSD 3-Clause "New" or "Revised" License
9 stars 8 forks source link

Form file error file size lost in PRG #4

Open michalbundyra opened 4 years ago

michalbundyra commented 4 years ago

Using filePRG in the post request i see that the form contains an error for filesize(i deliberately upload a file too large(based on ini set max size)) but when validating the form, it thinks the file is just missing so i get a 'value required' error. If the file was set to required=false, the form would just pass.


Originally posted by @Danielss89 at https://github.com/zendframework/zend-mvc/issues/22

michalbundyra commented 4 years ago

Could you re-post this against zend-mvc-plugin-fileprg, please? Thanks!


Originally posted by @weierophinney at https://github.com/zendframework/zend-mvc/issues/22#issuecomment-209092013

samsonasik commented 4 years ago

I transfered the issue. Currently in laminas-mvc-plugin-fileprg