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

Wrong HandlerResultHandler select when dealing with exceptions [SPR-14876] #19442

spring-projects-issues opened this issue Nov 3, 2016 · 0 comments


Copy link

@spring-projects-issues spring-projects-issues commented Nov 3, 2016

Brian Clozel opened SPR-14876 and commented

In some cases, the wrong HandlerResultHandler can be resolved when handling exceptions; this can happen only if the original handler and exception handler have different signatures:

Publisher<String> originalHandler() { ... }

ResponseEntity<Mono<String>> handleException() { ... }

In that case, the ResponseBodyResultHandler will be used when handling exceptions instead of the ResponseEntityResultHandler.

Affects: 5.0 M2

Referenced from: commits 95abd18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants