Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: RequestMappingHandlerAdapter with synchronizeOnSession=true calls invokeHandlerMethod twice [SPR-13999] #18572

Closed
spring-issuemaster opened this issue Feb 29, 2016 · 1 comment
Assignees
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Feb 29, 2016

Isto Nikula opened SPR-13999 and commented

First call on line 726, second 731.

https://github.com/spring-projects/spring-framework/blob/4.2.x/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java#L723;L731


Affects: 4.2.5

Issue Links:

  • #18555 Regression: @ResponseBody with Map result returns JSON array twice in case of synchronizeOnSession=true ("is duplicated by")
  • #18708 Handler method is called twice when synchronizeOnSession is true in RequestMappingHandlerAdaptor ("is duplicated by")
  • #18440 ResponseEntity CacheControl ignored / extended by RequestMappingHandlerAdapter
@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Feb 29, 2016

Juergen Hoeller commented

This turns out to be a regression caused by the revised HTTP header handling introduced in 4.2.5 (#18440). Fixed for 4.2.6 now.

Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.