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

Not compatible with Jackson 2.18.1 #505

Open
harmonic-ben opened this issue Nov 29, 2024 · 1 comment
Open

Not compatible with Jackson 2.18.1 #505

harmonic-ben opened this issue Nov 29, 2024 · 1 comment
Labels

Comments

@harmonic-ben
Copy link

I am not sure if this should be a bug raised on Jackson but starting here.
Updating to Jackson 2.18.1 in jackson-datatype-problem/pom.xml creates the following test failures.

[ERROR] Failures: 
[ERROR]   ProblemMixInTest.shouldDeserializeDefaultProblem:153 
Expected: parameters map containing ["product"->"B00027Y5QG"]
     but: parameters map was []
[ERROR] Errors: 
[ERROR]   ProblemMixInTest.shouldDeserializeCause:231 » UnrecognizedProperty Unrecognize...
[ERROR]   ProblemMixInTest.shouldDeserializeWithProcessedStackTrace:249 » UnrecognizedProperty
[INFO] 
[ERROR] Tests run: 18, Failures: 1, Errors: 2, Skipped: 0
@youribonnaffe
Copy link

youribonnaffe commented Dec 2, 2024

Faced the issue as well.

ProblemMixInTest.shouldDeserializeDefaultProblem should be fixed with Jackson 2.18.2 I believe. However the other failing tests remain. I tried debugging it without great success but Jackson has some custom behaviour for throwables that does not play well with the mixin/JsonCreator of problems (being throwables).

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

No branches or pull requests

2 participants