Skip to content

Fix query mapper path resolution for types considered simple ones. #3661

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

Closed
wants to merge 3 commits into from

Conversation

christophstrobl
Copy link
Member

spring-projects/spring-data-commons#2293 changed how PersistentPropertyPath is resolved and considers potentially registered Converter for those, which made the path resolution fail in during the query mapping process.
This PR makes sure to capture the Exception and continue with the given user input.

Fixes: #3659

spring-projects/spring-data-commons#2293 changed how PersistentProperty paths get resolved and considers potentially registered converters for those, which made the path resolution fail in during the query mapping process.
This commit makes sure to capture the according exception and continue with the given user input.

Fixes: #3659
Fix typo in class name and make sure MongoTestTemplate uses the configured simple types.
Remove superfluous junit extension.
mp911de pushed a commit that referenced this pull request Jun 18, 2021
spring-projects/spring-data-commons#2293 changed how PersistentProperty paths get resolved and considers potentially registered converters for those, which made the path resolution fail in during the query mapping process.
This commit makes sure to capture the according exception and continue with the given user input.

Fixes: #3659
Original pull request: #3661.
mp911de pushed a commit that referenced this pull request Jun 18, 2021
Fix typo in class name and make sure MongoTestTemplate uses the configured simple types.
Remove superfluous junit extension.

See: #3659
Original pull request: #3661.
mp911de pushed a commit that referenced this pull request Jun 18, 2021
spring-projects/spring-data-commons#2293 changed how PersistentProperty paths get resolved and considers potentially registered converters for those, which made the path resolution fail in during the query mapping process.
This commit makes sure to capture the according exception and continue with the given user input.

Fixes: #3659
Original pull request: #3661.
mp911de pushed a commit that referenced this pull request Jun 18, 2021
Fix typo in class name and make sure MongoTestTemplate uses the configured simple types.

See: #3659
Original pull request: #3661.
mp911de pushed a commit that referenced this pull request Jun 18, 2021
spring-projects/spring-data-commons#2293 changed how PersistentProperty paths get resolved and considers potentially registered converters for those, which made the path resolution fail in during the query mapping process.
This commit makes sure to capture the according exception and continue with the given user input.

Fixes: #3659
Original pull request: #3661.
mp911de pushed a commit that referenced this pull request Jun 18, 2021
Fix typo in class name and make sure MongoTestTemplate uses the configured simple types.

See: #3659
Original pull request: #3661.
@mp911de mp911de added this to the 3.1.10 (2020.0.10) milestone Jun 18, 2021
@mp911de
Copy link
Member

mp911de commented Jun 18, 2021

That's merged and backported now.

@mp911de mp911de closed this Jun 18, 2021
@mp911de mp911de deleted the issue/3659 branch June 18, 2021 12:28
@mp911de mp911de added type: bug A general bug type: regression A regression from a previous release and removed type: bug A general bug labels Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression A regression from a previous release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[3.2.1] Indexing Class with Custom Converter -> Couldn't find PersistentEntity for property private [...]
2 participants