Skip to content

Add an option to disable the automatic creation of nested path in DataBinder and subclasses [SPR-6430] #11096

@spring-projects-issues

Description

@spring-projects-issues

Graeme Rocher opened SPR-6430 and commented

There is a bug in Grails related to the addition of Spring 3 handling of nested object graphs we have our own subclass of WebDataBinder that already handled nested object graphs but also had more inbuilt knowledge of the domain so for example if an association was nullable it wouldn't automatically create the nested object.

The problem is Grails data binder is still doing the right thing in this regard, but when it passes of control the super impl it doesn't have this additional knowledge so its creating the nested object graphs which breaks Grails' data binding.

We need to add the ability to call setAutoGrowNestedPaths on the underlying BeanWrapper instance


Referenced from: commits bb97ca3

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions