The entity Parent has a collection of Item objects.
Whenever I try to run a json-patch+json request that contains an operation against a collection item with an index greater than 9 Spring throws the following exception:
Caused by: org.springframework.data.mapping.PropertyReferenceException: No property 10 found for type Item! Traversed path: Parent.collection.
the URL is "/Parent/1"
the request body:
[
{
"op":"replace",
"path":"/collection/10/property",
"value":"100"
}
]
Exactly the same request with an index less than 10 works just fine:
[
{
"op":"replace",
"path":"/collection/9/property",
"value":"100"
}
]
Is it a spring data rest bug?