Closed
Description
Abhijit Sarkar opened SPR-13309 and commented
AllEncompassingFormHttpMessageConverter
forces Jackson XML without any option given to the user to choose an implementation. Until 4.1.7.RELEASE, Jackson JSON used to be the default and the code didn't set part converters exclusively (as it does now using if-else
instead of if
as was before). There's no log statements indicating what converters are chosen by default causing a whole lot of pain for people like me whose code is now broken.
Affects: 4.2 GA
Attachments:
- AllEncompassingFormHttpMessageConverter.jpg (234.54 kB)
Issue Links:
- AllEncompassingFormHttpMessageConverter does not prefer Jackson2 over JAXB for XML marshalling [SPR-13240] #17831 AllEncompassingFormHttpMessageConverter does not prefer Jackson2 over JAXB for XML marshalling
- AllEncompassingFormHttpMessageConverter ignores JAXB XML when Jackson used for JSON [SPR-14336] #18908 AllEncompassingFormHttpMessageConverter ignores JAXB XML when Jackson used for JSON
Referenced from: commits 257cc63