You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jbonofre (via GitHub)" <gi...@apache.org> on 2026/10/19 09:23:27 UTC

[PR] test(#758): cover @JsonIgnoreProperties(ignoreUnknown) across bundles (backport to 4.18.x) [camel-karaf]

jbonofre opened a new pull request, #763:
URL: https://github.com/apache/camel-karaf/pull/763

   Backport of #759 to `camel-karaf-4.18.x`. Refs #758 (does not close it: the issue is not reproduced yet).
   
   ## Summary
   
   Clean cherry-pick of 1445fca130ae1f0d2208a7bb49432941fb6c377f. Extends the `camel-jackson` Pax Exam test so the Jackson unmarshal runs against an entity that:
   
   - is annotated with `@JsonIgnoreProperties(ignoreUnknown = true)`, and
   - lives in its own bundle, separate from `jackson-databind`.
   
   The input JSON carries a property the entity does not declare. If Jackson stops honouring the annotation across the bundle boundary, the mock endpoint receives nothing and the test fails.
   
   ## Test plan
   
   - [ ] `mvn verify -pl tests/features/camel-jackson` on 4.18.x (not run locally: offline build of the 4.18.x dependencies was unavailable, so this relies on CI)
   
   _AI-assisted, on behalf of JB Onofré._


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org