Move p:fileUpload validation attributes to p:validateFile
ProprietaryMove sizeLimit, fileLimit, allowTypes, virusScan and validateContentType from p:fileUpload to a nested p:validateFile, the only place PrimeFaces 15 reads them. Left where they are, a literal sizeLimit fails the page and the others are silently ignored, so uploads are no longer checked. An attribute that the nested p:validateFile also sets stays where it is, for a person to choose between the two values.
io. moderne. java. primefaces. MoveFileUploadAttributesToValidateFilemod run . --recipe= io. moderne. java. primefaces. MoveFileUploadAttributesToValidateFileInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.