AllEncompassingFormHttpMessageConverter ignores JAXB XML when Jackson used for JSON [SPR-14336] #18908
Labels
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Jan Zahornadsky opened SPR-14336 and commented
After changes introduced in #17894, the new conditions are causing that in a project that uses both XML (via JAXB) and JSON (via Jackson) AllEncompassingFormHttpMessageConverter no longer works correctly with XML.
Referring to the code in https://github.com/spring-projects/spring-framework/blob/master/spring-web/src/main/java/org/springframework/http/converter/support/AllEncompassingFormHttpMessageConverter.java, the condition for including Jaxb part converter should read
Affects: 4.2.6
Issue Links:
Referenced from: commits abcfffd, d0b2fe5
Backported to: 4.2.7
The text was updated successfully, but these errors were encountered: