-
Notifications
You must be signed in to change notification settings - Fork 40.7k
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
Deserialization bug in Spring Boot 3.2.11 #42892
Comments
Please share a minimal sample application that reproduces the problem. Because it involves JSON deserialisation, maybe we don't need to include JPA nor any JavaScript (a simple curl command should work). |
Here is the sample app: https://github.com/davidbuzatto/isthisabug 3.2.8 and 3.2.10:POST: Response OK:
PATCH: Response OK:
3.2.11:POST: Error: PATCH: Error:
|
Thanks for the sample, I think this is a regression in Spring Data. Using Spring Boot 3.2.11 but downgrading Spring Data works: <properties>
<spring-data-bom.version>2023.1.10</spring-data-bom.version>
</properties> I think this has been reported already in spring-projects/spring-data-rest#2425 so I'm closing this issue as a duplicate. |
When updating from spring boot 3.2.8 to 3.2.11 an error started to show when I try to persist an object. I tried the 3.2.10 version and the error disapeared. It seems like a bug, since my code stopped to work in 3.2.11.
The error is related to a composite entity. A simplified version of my scenario is as follows:
Spring Boot:
When trying to persist a Cidade (city) which have an Estado (state/province), the following error appeared:
POST method:
PATCH method:
My JavaScript code:
The text was updated successfully, but these errors were encountered: