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

InstantiationAwarePropertyAccessor loses state when updating multiple properties [DATACMNS-1768] #2183

Closed
spring-projects-issues opened this issue Jul 13, 2020 · 0 comments
Assignees
Labels
in: mapping type: bug

Comments

@spring-projects-issues
Copy link

spring-projects-issues commented Jul 13, 2020

Mark Paluch opened DATACMNS-1768 and commented

When updating multiple properties through the same InstantiationAwarePropertyAccessor instance, then InstantiationAwarePropertyAccessor.getBean() returns the state where only the last property was set. All previous updates get lost.

This is, because the inner PersistentPropertyAccessor holds the initial bean without being notified about the new instance that was created by InstantiationAwarePropertyAccessor


Affects: 2.3.1 (Neumann SR1)

Backported to: 2.3.2 (Neumann SR2)

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

No branches or pull requests

2 participants