Skip to content

Conversation

@JacksonJang
Copy link
Contributor

resolves #4629

I moved the IgnorePropertiesUtil.shouldIgnore() check to the top of the loop, before the creatorProp check.
This ensures that ignored properties are skipped correctly before any creator property processing happens.

@cowtowncoder cowtowncoder added 3.x Issues to be only tackled for Jackson 3.x, not 2.x cla-needed PR looks good (although may also require code review), but CLA needed from submitter labels Nov 26, 2025
@cowtowncoder
Copy link
Member

@JacksonJang Looks good, thank you for contributing this!

One thing we need before I can merge the fix is we need CLA from:

https://github.com/FasterXML/jackson/blob/main/contributor-agreement.pdf

it only needs to be sent once, before the first contribution and is valid for all future Jackson contributions.
The usual way is to print it, fill & sign, scan/photo, email to cla at fasterxml dot com.
Once I have it, I can merge this in 3.x (for inclusion in 3.1.0).

Copy link
Member

@cowtowncoder cowtowncoder left a comment

Choose a reason for hiding this comment

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

LGTM, just need CLA

@JacksonJang
Copy link
Contributor Author

I sent an email to cla@fasterxml.com after reading your message
Thank you!

Have a good day :)

@cowtowncoder cowtowncoder added cla-received PR already covered by CLA (optional label) and removed cla-needed PR looks good (although may also require code review), but CLA needed from submitter labels Nov 27, 2025
@cowtowncoder cowtowncoder added this to the 3.1.0 milestone Nov 27, 2025
@cowtowncoder
Copy link
Member

CLA received, can proceed.

@cowtowncoder cowtowncoder merged commit a0f11a0 into FasterXML:3.x Nov 27, 2025
6 checks passed
@cowtowncoder
Copy link
Member

Hmmmh. I think this fix broke this Kotlin test:

FasterXML/jackson-module-kotlin#308

which is unfortunate...

@JacksonJang
Copy link
Contributor Author

Is there any test case where that behavior occurs?
I’ll review it again on my side.

@cowtowncoder
Copy link
Member

Just the Kotlin test:

https://github.com/FasterXML/jackson-module-kotlin/blob/3.x/src/test/kotlin/tools/jackson/module/kotlin/test/github/Github308.kt

which may be tricky to convert into Java one....

(this is why I didn't catch it before merging -- we have cascading build across modules but only after merging)

@JacksonJang
Copy link
Contributor Author

Thank you for the answer :)
Would you mind taking a look with the changes I pushed?

The change I made specifically resolves the conflict between a creator property and an ignored property name.

@JacksonJang
Copy link
Contributor Author

JacksonJang commented Nov 27, 2025

2025-11-27 14 33 07 image

I manually built the jackson-databind library and placed it into the .m2 folder to test it, and everything worked correctly.
I believe it should be safe to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x Issues to be only tackled for Jackson 3.x, not 2.x cla-received PR already covered by CLA (optional label)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@JsonIncludeProperties and @JsonIgnoreProperties ignored when deserializing Records

3 participants