-
Notifications
You must be signed in to change notification settings - Fork 356
Fix usage of wrong id value in related selects #1810
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
Conversation
In an aggregate A->B-Collection<C> a select gets executed for loading Collection<C>. That select used the wrong ID when B had an ID with the same name as A. This is now fixed. Closes #1802
This is an important fix for us @ma10s - in order to upgrade https://github.com/navikt/familie-tilbake/ Fixing our issue with the relations |
@@ -467,6 +467,20 @@ void getEffectiveIdColumnName() { | |||
}); | |||
} | |||
|
|||
@Test // GH-1802 | |||
void dingens() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dingens?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, sorry. I thought gave that thing a proper name 😢
That's merged, polished, and backported now. |
In an aggregate A->B-Collection a select gets executed for loading Collection.
That select used the wrong ID when B had an ID with the same name as A.
This is now fixed.
Closes #1802