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

Do not try to apply JsonView to failed responses #10022

Merged
merged 4 commits into from
Oct 26, 2023
Merged

Do not try to apply JsonView to failed responses #10022

merged 4 commits into from
Oct 26, 2023

Conversation

yawkat
Copy link
Member

@yawkat yawkat commented Oct 25, 2023

As the failed response contains a body not returned by the controller method, don't try to apply the controller's JsonView to it.

Fixes #9975

As the failed response contains a body not returned by the controller method, don't try to apply the controller's JsonView to it.

Fixes #9975
@yawkat yawkat added the type: bug Something isn't working label Oct 25, 2023
@yawkat yawkat added this to the 4.1.11 milestone Oct 25, 2023
Co-authored-by: Sergio del Amo <sergio.delamo@softamo.com>
@sdelamo
Copy link
Contributor

sdelamo commented Oct 26, 2023

CI failed with

Task :http-server-netty:compileJava FAILED

@sonarcloud
Copy link

sonarcloud bot commented Oct 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sdelamo sdelamo merged commit 59755dd into 4.1.x Oct 26, 2023
10 checks passed
@sdelamo sdelamo deleted the view-failure branch October 26, 2023 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants