Add a way to easily reverse 'ignoreDefaultModelOnRedirect' default when using mvc:annotation-driven [SPR-8801] #13443
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Mike Youngstrom opened SPR-8801 and commented
In Spring 3.1 a new option was added to disable automatically adding model attributes to a redirect. This option was turned on by default in mvc:annotation-driven. This breaks backwards compatibility of applications that are using annotation-driven and model attributes on redirect. This if fine since the new default is better. However, there is no easy way for annoation-driven users to revert to the old mechanism. It would be nice if there was an easy way to reverse this backwards incompatible change. Perhaps by adding an attribute to annoation-driven to restore the old functionality?
Affects: 3.1 RC1
Referenced from: commits 8889284
The text was updated successfully, but these errors were encountered: