You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In certain scenario, where additional projections are added through query.build {}
Some of the projection is lost.
eg
def query = Org.query {
createAlias('calc', 'calc')
createAlias('contact', 'contact')
//putting projections here would pass.
}
//fails only when min used with groupBy in query.build {}
query = query.build {
projections {
groupBy("orgTypeId")
min("calc.totalDue") //this should result in a key calc_totalDue in the result map
}
}
In certain scenario, where additional projections are added through
query.build {}
Some of the projection is lost.
eg
See the test that reveals the issue : here
Notice the projections in below screenshot
Scenario 2
When criteria restriction is added on an alias instead of a property
this test reveals the issue : 572920e
The text was updated successfully, but these errors were encountered: