You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jdaugherty (via GitHub)" <gi...@apache.org> on 2026/03/11 12:28:11 UTC
[PR] fix #15491 - Bug: DetachedCriteria.distinct().property() projections exclude rows where the projected property value is null [grails-core]
jdaugherty opened a new pull request, #15492:
URL: https://github.com/apache/grails-core/pull/15492
Commit ddae6ee795 ("Auto-create aliases for joined association projections") introduced a regression in AbstractHibernateQuery.calculateProjectionPropertyName(). When a projection references a dotted association path like warehouse.id, the method auto-creates a Hibernate alias via getOrCreateAlias(). That method defaults to INNER_JOIN when no explicit join type is registered, which filters out all rows where the association is null.
Assisted-by: OpenCode <op...@opencode.ai>
Assisted-by: Claude <cl...@anthropic.com>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix #15491 - Bug: DetachedCriteria.distinct().property() projections exclude rows where the projected property value is null [grails-core]
Posted by "testlens-app[bot] (via GitHub)" <gi...@apache.org>.
testlens-app[bot] commented on PR #15492:
URL: https://github.com/apache/grails-core/pull/15492#issuecomment-4038882226
The TestLens GitHub App is installed in this repository but TestLens is currently in private beta.
Please [contact us](https://testlens.app/contact/) to finish onboarding this repository.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix #15491 - Bug: DetachedCriteria.distinct().property() projections exclude rows where the projected property value is null [grails-core]
Posted by "jdaugherty (via GitHub)" <gi...@apache.org>.
jdaugherty merged PR #15492:
URL: https://github.com/apache/grails-core/pull/15492
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org