Skip to content

Regression: @ResponseBody with Map result returns JSON array twice in case of synchronizeOnSession=true [SPR-13983] #18555

@spring-projects-issues

Description

@spring-projects-issues

Toshimitsu Nakanishi opened SPR-13983 and commented

@RequestMapping(value = "/json/", produces = "application/json")
@ResponseBody
public Map<String, Object> test(WebRequest request) {
    Map<String, Object> map = new LinkedHashMap<>();
    map.put("result", Boolean.TRUE);
    return map;
}

built with spring 4.2.5, json result is returned 2 arrays.
4.2.4 is correct.


Affects: 4.2.5

Issue Links:

Referenced from: commits spring-attic/spring-framework-issues@49c0466

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions