Closed
Description
Describe the bug
I use new stable page representation format enabled with @EnableSpringDataWebSupport(pageSerializationMode = VIA_DTO)
.
When I try to download paged response from controller via feign client, page metadata isn't correctly parsed. Total elements number always equals number of elements in current page content (page content is parsed correctly). It seems that PageJacksonModule expects page metadata in the old format.
I'm using Spring Cloud v2024.0.0.
Sample
Sample project to reproduce this problem lives at
https://github.com/exempla/sb3_stable_page_feign_deserialization_problem. Run
mvn test
to see the error.