Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix classcast exception for paginated projections. #2139

Closed
michael-simons opened this issue Feb 12, 2021 · 0 comments
Closed

Fix classcast exception for paginated projections. #2139

michael-simons opened this issue Feb 12, 2021 · 0 comments
Assignees
Labels
type: bug A general bug

Comments

@michael-simons
Copy link
Collaborator

michael-simons commented Feb 12, 2021

A paginated projection leads to a ClassCastException.

I think we used the result processor wrong, so stuff works out when creating Slice instances beforehand, see closing commit and related spring-projects/spring-data-commons#2296

@michael-simons michael-simons added the type: bug A general bug label Feb 12, 2021
@michael-simons michael-simons added this to the 6.0.4 (2020.0.4) milestone Feb 12, 2021
@michael-simons michael-simons self-assigned this Feb 12, 2021
michael-simons added a commit that referenced this issue Feb 12, 2021
We used the ResultProcessor wrong. It must be applied on the whole page
or slice, and not on the intermediate result (collection).

This closes #2139.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant