You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression with immutable POJO, @JsonIdentityInfo, for 3.0 #5262
Fix for #5238 (see #5239) exposes a problem with POJO case, for 3.0 -- see JsonIdentityOnRecord5238Test.java for failure:
[ERROR] JsonIdentityOnRecord5238Test.testIdentityWithPojo:58 » Databind Invalid Object Id definition for `tools.jackson.databind.records.JsonIdentityOnRecord5238Test$ThingPojo`: cannot find property with name 'id'
at [No location information] (through reference chain: tools.jackson.databind.records.JsonIdentityOnRecord5238Test$ExamplePojo["allThings"]->java.util.ImmutableCollections$List12[0])
[INFO]
Hopefully can be resolved; or if not immediately, need to move under tofix tests.
Activity
Move failign #5262 under "tofix" to prevent CI blockage
cowtowncoder commentedon Aug 19, 2025
Will move under "tofix" in #5264.
JooHyukKim commentedon Aug 29, 2025
Seems like prop
idgets renamed at this point asprefixIddeclared in@JsonCreator.Here POJOPropertiesBuilder.findExplicitNames() returns
prefixId.It's not supposed to tho right? @cowtowncoder
cowtowncoder commentedon Sep 6, 2025
Re-reading test case, I think test is actually invalid: rename as "prefixId" seems Wrong.
Will fix the test instead.