Skip to content

AllEncompassingFormHttpMessageConverter prioritizes Jackson 2 XML over JSON [SPR-13309] #17894

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

Issue Links:

Referenced from: commits 257cc63

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions