You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result of this operation the property to update (gtin) is null.
org.springframework.data.rest.webmvc.json.patch.JsonLateObjectEvaluator#evaluate returns null because it receives a JsonMappingException as it tries to serialize the value json into the entity type.
Mathias D opened DATAREST-885 and commented
After migrating to spring data rest 2.5.2 the
PATCH
operation withapplication/json-patch+json
for object values is broken.Consider the following entity:
I try to patch with the following payload.
As a result of this operation the property to update (
gtin
) is null.org.springframework.data.rest.webmvc.json.patch.JsonLateObjectEvaluator#evaluate
returns null because it receives aJsonMappingException
as it tries to serialize the value json into the entity type.Please see this product to reproduce the issue https://github.com/mduesterhoeft/spring-data-rest-json-patch-issue
Affects: 2.5.2 (Hopper SR2)
Reference URL: https://github.com/mduesterhoeft/spring-data-rest-json-patch-issue
Referenced from: pull request #223
Backported to: 2.5.3 (Hopper SR3)
1 votes, 1 watchers
The text was updated successfully, but these errors were encountered: