matrei opened a new issue, #16145: URL: https://github.com/apache/grails-core/issues/16145
### Issue description When a multipart upload exceeds the configured size limit, Tomcat may reject it while parsing request parameters before Grails’ multipart resolver or controller is invoked. As a result, the application cannot handle the failure through normal validation or error handling and cannot render the expected form error. The request may also be wrapped by Spring Security, hiding Grails’ MultipartHttpServletRequest API and causing valid uploads using request.getFile(...) or params binding to fail. Grails should resolve multipart requests early and preserve the resolved multipart request so both oversized-upload errors and valid file uploads remain available to application code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
