Skip to content

OBGM-458 Fix products list query to be able to access browse inventor…#4110

Merged
awalkowiak merged 1 commit intofeature/upgrade-to-grails-3.3.10from
OBGM-458
Jun 16, 2023
Merged

OBGM-458 Fix products list query to be able to access browse inventor…#4110
awalkowiak merged 1 commit intofeature/upgrade-to-grails-3.3.10from
OBGM-458

Conversation

@kchelstowski
Copy link
Collaborator

@kchelstowski kchelstowski commented Jun 15, 2023

…y page

After deep debugging of the product list query, it seems like one of the subqueries is expecting to compare Long instead of Integer (it might be due to a newer version of hibernate). Changing from 0 to 0L in this one place seems to be fixing the issue and I am able to access the browser inventory page.

We can compare long to int without any inconsistency, so this small change should be enough.
A few examples:
Screenshot from 2023-06-15 17-03-53
https://stackoverflow.com/questions/11143253/is-it-ok-to-compare-an-int-and-a-long-in-java

@awalkowiak awalkowiak merged commit 6d4378a into feature/upgrade-to-grails-3.3.10 Jun 16, 2023
@awalkowiak awalkowiak deleted the OBGM-458 branch June 16, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants