Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataBinder setAutoGrowNestedPaths call should work reliably [SPR-6718] #11384

Closed
spring-projects-issues opened this issue Jan 18, 2010 · 2 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Eddie Mc Greal opened SPR-6718 and commented

see the forum post


Affects: 3.0 GA

Reference URL: http://forum.springsource.org/showthread.php?p=279084

Referenced from: commits b670b19

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

I'm afraid we can't change the default here, and I'm not sure we should since it is quite intuitive default behavior (even if not strictly backwards compatible). We should, however, make sure that a setAutoGrowNestedPaths call actually works any time before the bind call...

Juergen

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

I've opted for a slightly different solution: setAutoGrowNestedPaths will now throw an IllegalStateException if you're calling it too late. It needs to be called at the very beginning now, just like initBeanPropertyAccess/initDirectFieldAccess.

Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants