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

ConvertingPropertyAccessor loses its converting power for nested properties [DATACMNS-1377]

Closed
spring-projects-issues opened this issue Aug 17, 2018 · 1 comment
Assignees
Labels
in: mapping type: bug

Comments

@spring-projects-issues
Copy link

spring-projects-issues commented Aug 17, 2018

Jens Schauder opened DATACMNS-1377 and commented

In PersistentPropertyAccessor the code piece below does basically unwrap a ConvertingPropertyAccessor.

default void setProperty(PersistentPropertyPath<? extends PersistentProperty<?>> path, @Nullable Object value) {
// ...
		PersistentPropertyAccessor<?> accessor = parent == getBean() //
				? this //
				: leafProperty.getOwner().getPropertyAccessor(parent);
// ...
}

Referenced from: commits b0eb0c4

@spring-projects-issues
Copy link
Author

spring-projects-issues commented Aug 17, 2018

Oliver Drotbohm commented

Should CPA override this method to make sure the PA created in the else clause is properly wrapped, too?

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