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

@JsonIdentityReference(alwaysAsId = true) Custom resolver is reset to SimpleObjectIdResolver #524

Closed
pkokorev opened this issue Aug 19, 2014 · 1 comment
Milestone

Comments

@pkokorev
Copy link

When using @JsonIdentityInfo with a custom resolver along with @JsonIdentityReference(alwaysAsId = true), the _resolver member variable of the ObjectIdInfo class is reset to SimpleObjectIdResolver.class by calling a wrong (?) constructor inside the withAlwaysAsId(...) method. Should that be another constructor that accepts the Class<? extends ObjectIdResolver> as the last parameter to be called instead?

pkokorev pushed a commit to pkokorev/jackson-databind that referenced this issue Aug 19, 2014
cowtowncoder added a commit that referenced this issue Aug 20, 2014
[Issue #524] Changed constructor usage
@cowtowncoder cowtowncoder added this to the 2.4.3 milestone Aug 20, 2014
@cowtowncoder
Copy link
Member

Ah. I see, so this is fixed by #525. Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants