Closed
Description
Rossen Stoyanchev opened SPR-13762 and commented
The ViewControllerRegistry should call setApplicationContext on the ParameterizableViewController (and the contained views like RedirectView) instances it creates. Not doing so can cause issues in Spring Boot where the ContextLoader is not used and we cannot fall back on ContextLoader.getCurrentWebApplicationContext().
Affects: 4.1.8, 4.2.2
Reference URL: spring-projects/spring-boot#3076
Backported to: 4.1.9