Skip to content

MarshallingView should explicitly skip BindingResult when searching for a model object [SPR-11417] #16044

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-11417 and commented

A couple of custom MarshallingView extensions do the very same thing: They explicitly skip BindingResult when searching for a model object.

http://syspeak.googlecode.com/svn/trunk/SysPeak/apps/MakerEAP/workflow/src/main/java/com/syspeak/modules/spring/web/servlet/view/xml/FilterMarshallingView.java
http://my-channel-web.googlecode.com/svn/trunk/my-channel-web/src/com/winxuan/channel/support/view/xml/IgnoreBindingMarshalingView.java
http://www.cnblogs.com/hoojo/archive/2011/04/29/2032609.html

There seems to be nothing wrong with doing that out of the box, since it's unlikely that somebody intends to render a BindingResult as XML...


Affects: 3.2.7, 4.0.1

Referenced from: commits 6f58491, b223e6e

Backported to: 3.2.8

Metadata

Metadata

Assignees

Labels

status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions