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

Fix regression #4639 #4738

Merged
merged 4 commits into from
Oct 10, 2024
Merged

Fix regression #4639 #4738

merged 4 commits into from
Oct 10, 2024

Conversation

JooHyukKim
Copy link
Member

fixes #4639

Comment on lines +508 to +513
// [databind#4639] Since 2.18.1 AnySetter might not part of the creator, but just some field.
if (_anySetter.isFieldType()) {
buffer.bufferAnyProperty(_anySetter, propName, _anySetter.deserialize(p, ctxt));
} else {
buffer.bufferAnyParameterProperty(_anySetter, propName, _anySetter.deserialize(p, ctxt));
}
Copy link
Member Author

@JooHyukKim JooHyukKim Oct 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While resolving #562, I missed case like #4639 where there is creator, but any-setter is field.

@cowtowncoder
Copy link
Member

Ok I hope to review and merge this tomorrow (getting late tonight), seems straight-forward.
Thank you for the fix @JooHyukKim (and thanks @yihtserns for reporting the problem)

@cowtowncoder cowtowncoder merged commit 365cee6 into FasterXML:2.18 Oct 10, 2024
7 checks passed
@cowtowncoder
Copy link
Member

Thank you @JooHyukKim !

@cowtowncoder cowtowncoder modified the milestones: 2.18.0, 2.18.1 Oct 15, 2024
@JooHyukKim JooHyukKim deleted the fix-4639 branch November 8, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants