-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Typed object throws "Missing type id" when annotated with @JsonIdentityInfo #232
Comments
Note: possibl related to #25. |
Added failing test based on example. |
Not sure what to do but noting that this is probably related to buffering of Type and/or Object Ids: |
On further inspection, no buffering involved in this particular case. But type-id is off between cases: without |
What was the solution to this? |
@benjaminwiegand it was fixed in this commit: 2a07652 Do you still have the error in the latest jackson version? |
Yes I do (jackson 2.12.1). See below for code. What am I missing? @yawkat @cowtowncoder |
I have a classes:
And I'm getting,
I tried adding I believe I'm missing some annotation somewhere but not sure where. |
I fixed it. |
your code does not use yaml though? this was specifically a yaml issue |
@benjaminwiegand how did you fixed that issue i'm also facing the same issue |
@benjaminwiegand useless comment when u don't say the solution :) |
Original issue was fixed so things should work: perhaps it was a matter of upgrading Jackson YAML module version used. If you still have problems, please file new issue -- we usually do not re-open old issues since that complicates release note handling (and often follow-up issues are different from original anyway). You may refer to this issue as background info but the new issue should have reproduction and not assume it is the same root problem; even if the failure message looks the same does not necessarily mean identical issue. |
Tested with Jackson 2.12.0-rc2-SNAPSHOT
typedTestYaml throws:
The text was updated successfully, but these errors were encountered: