New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileUpload (advanced): Multiple FileUpload - regressions when some files do not meet the limits #11900
Comments
Did some analysis.... Why do we get only one validation-error? And - once there is any validation error nothing is uploaded any more: So IMO a good amount of refactorings is required to restore the behaviour we had up to 13.0.x. All of this is independent of (explicit) using CSV or using drag´n´drop - feature. @tandraschko : I think we need at least your thoughts about this. |
yeah, seems that the FileValidator would need to throw a array of msgs for me the behavior that we only upload when all files are valid is ok, we should just show all messages |
I´ll try to look at the one message per invalid file part. Maybe this is something we can fix for 14.0.x too. Let´s see. |
…gressions when some files do not meet the limits
…when some files do not meet the limits (#11965)
…ad - regressions when some files do not meet the limits
…ssions when some files do not meet the limits (#11966)
Describe the bug
Uploading following files
13.0.x
14.0.0
Regressions
Related to refactorings done for 14.0.0 as part of #11001, #11043, #11044
Reproducer
https://primefaces.org/showcase/ui/file/upload/multiple.xhtml
Select multiple files. Some within the size-limit. Some to big ones.
The text was updated successfully, but these errors were encountered: