Skip to content

Fix property value conversion for $in criteria. #4324

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 2 commits into from

Conversation

christophstrobl
Copy link
Member

This PR fixes an issue where a property ValueConverter is not applied if the query is using an $in clause that compares the value against a Collection of potential candidates that need to run through the converter one by one.

Closes: #4080

This commit fixes an issue where a property value converter is not applied if the query is using an $in clause that compares the value against a collection of potential candidates.
mp911de pushed a commit that referenced this pull request Mar 15, 2023
This commit fixes an issue where a property value converter is not applied if the query is using an $in clause that compares the value against a collection of potential candidates.

Original pull request: #4324
Closes #4080
@mp911de mp911de added this to the 3.4.10 (2021.2.10) milestone Mar 15, 2023
mp911de pushed a commit that referenced this pull request Mar 15, 2023
This commit fixes an issue where a property value converter is not applied if the query is using an $in clause that compares the value against a collection of potential candidates.

Closes #4080
Original pull request: #4324
mp911de pushed a commit that referenced this pull request Mar 15, 2023
This commit fixes an issue where a property value converter is not applied if the query is using an $in clause that compares the value against a collection of potential candidates.

Original pull request: #4324
Closes #4080
@mp911de
Copy link
Member

mp911de commented Mar 15, 2023

That's merged and backported now.

@mp911de mp911de closed this Mar 15, 2023
@mp911de mp911de deleted the issue/4080 branch March 15, 2023 10:35
@mp911de mp911de added the type: bug A general bug label Mar 15, 2023
mp911de pushed a commit that referenced this pull request Mar 15, 2023
This commit fixes an issue where a property value converter is not applied if the query is using an $in clause that compares the value against a collection of potential candidates.

Original pull request: #4324
Closes #4080
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

Successfully merging this pull request may close these issues.

Building criteria with in clause against field annotated with @ValueConverter causes a ClassCastException
2 participants