Incorrectly mapped values on page summaries.
See https://github.com/spring-projects/spring-boot/issues/12720 for a test that reproduces the error.
The problem seems to come from this line in the test
For some reason the HotelSummary seems to have data mapped to the wrong methods. Digging in a bit, the problem appears to be somewhere in org.springframework.data.repository.query.ResultProcessor. Specifically getProjectionTarget is called with a source containing the following:
And attempts to convert it using toMap. This gets passed the following names:
There are not in the same order. Perhaps DefaultProjectionInformation.collectDescriptors is not returning methods in a defined order. Possibly related to