Fix issue with resolving Errors controller argument
The ErrorsMethodArgumentResolver expects the preceding @ModelAttribute in the controller method signature to be the last one added in the model -- an assumption that can break if a model attribute is added earlier (e.g. through a @ModelAttribute method) and more attributes are added as well. This fix ensures when an @ModelAttribute is resolved as a controller method argument it has the highest index in the model. Issue: SPR-9378
This commit is contained in:
2
src/dist/changelog.txt
vendored
2
src/dist/changelog.txt
vendored
@@ -14,6 +14,8 @@ Changes in version 3.2 M1
|
||||
* add Servlet 3.0 based async support
|
||||
* fix issue with encoded params in UriComponentsBuilder
|
||||
* add Jackson 2 HttpMessageConverter and View types
|
||||
* add pretty print option to Jackson HttpMessageConverter and View types
|
||||
* fix issue with resolving Errors controller method argument
|
||||
|
||||
Changes in version 3.1.1 (2012-02-16)
|
||||
-------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user