-
Notifications
You must be signed in to change notification settings - Fork 561
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
POST request with relation fails with 400 in spring-data-rest-webmvc 4.3.5 #2425
Comments
I can confirm the issue, as we also wanted to upgrade the spring-boot-starter-parent to 3.3.5. A downgrade to 3.3.4 resolved the problem. |
Upgrading spring boot from 3.3.4 to 3.3.5, i am facing the same issue. When passing /uuid-string for a UUID field, PersistentEntityJackson2Module.UriStringDeserializer is not applied, and instead, Jackson’s BeanDeserializer is used for that field which fails with error. |
I believe this issue is a consequence 61a5d17 in response to #2419 In 3.3.4, In 3.3.5, |
Attempting to make a POST request to create an entity with a relationship to another entity fails with a 400 error in spring-data-rest-webmvc 4.3.5. This previously worked in version 4.3.4.
Running the test in the sample application at https://github.com/psager227/spring-data-rest-issue will result in a failure. Reverting the spring-boot-starter-parent version to 3.3.4 will result in the test passing. Below is the exception thrown:
And the response body is:
This seems to likely be related to 61a5d17
The text was updated successfully, but these errors were encountered: