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
In PersistentEntityResourceHandlerMethodArgumentResolver, we ask the downstream HttpMessageConverters whether they can read PersistentEntityResource. For Jackson-based converters, this will result in a call to ObjectMapper.canDeserialize(…) which apparently accidentally works on Jackson 2.17. On 2.18 the detection of the creator properties seems to have changed so that PER is (rightfully) rejected for deserialization. This now causes no converter being found and thus an HttpMessageNotReadableException being thrown.
We should switch to asking the converters whether they're able to read the actual domain type, as that's what we actually do in the subsequent call to read(…).
The text was updated successfully, but these errors were encountered:
In
PersistentEntityResourceHandlerMethodArgumentResolver
, we ask the downstreamHttpMessageConverters
whether they can readPersistentEntityResource
. For Jackson-based converters, this will result in a call toObjectMapper.canDeserialize(…)
which apparently accidentally works on Jackson 2.17. On 2.18 the detection of the creator properties seems to have changed so thatPER
is (rightfully) rejected for deserialization. This now causes no converter being found and thus anHttpMessageNotReadableException
being thrown.We should switch to asking the converters whether they're able to read the actual domain type, as that's what we actually do in the subsequent call to
read(…)
.The text was updated successfully, but these errors were encountered: