matrei commented on code in PR #16040:
URL: https://github.com/apache/grails-core/pull/16040#discussion_r3750488401
##########
grails-controllers/src/main/groovy/org/grails/plugins/web/controllers/ControllersAutoConfiguration.java:
##########
@@ -150,12 +151,11 @@ public FilterRegistrationBean<GrailsWebRequestFilter>
grailsWebRequestFilter(Gra
return registrationBean;
}
- @Bean
- public MultipartConfigElement multipartConfigElement() {
- if (uploadTmpDir == null) {
- uploadTmpDir = System.getProperty("java.io.tmpdir");
+ @Override
+ public void setEnvironment(Environment environment) {
+ if (Binder.get(environment).bind(LEGACY_MULTIPART_CONFIGURATION,
Bindable.mapOf(String.class, Object.class)).isBound()) {
Review Comment:
Should now be addressed
--
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]