Skip to content

Add a way to easily reverse 'ignoreDefaultModelOnRedirect' default when using mvc:annotation-driven [SPR-8801] #13443

@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions