You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by GitBox <gi...@apache.org> on 2026/02/26 03:42:44 UTC

[GH] (grails-core/fix/where-query-bugs-2): Workflow run "Licensing - RAT Report" is working again!

The GitHub Actions job "Licensing - RAT Report" on grails-core.git/fix/where-query-bugs-2 has succeeded.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
f8738317c8fda9fadab8c46bba59f498bfaa237e / James Fredley <ja...@users.noreply.github.com>
fix: propagate LEFT JOIN from DetachedCriteria into subqueries (#14485)

populateHibernateDetachedCriteria only copied criteria and projections
from a DetachedCriteria when converting to a Hibernate DetachedCriteria
for subqueries, ignoring fetchStrategies and joinTypes. This caused
LEFT JOIN to be silently downgraded to INNER JOIN in subqueries like:

  Author.where { 'in'('id', Author.where {
      join('books', JoinType.LEFT)
      books { isNull('name') }
  }.id()) }

Now applies fetchStrategies/joinTypes to the HibernateQuery before
processing criteria, matching the pattern in DynamicFinder.applyDetachedCriteria.

Assisted-by: Claude Code <Cl...@Claude.ai>

Fixes #14485

Report URL: https://github.com/apache/grails-core/actions/runs/22426788059

With regards,
GitHub Actions via GitBox