The GitHub Actions job "CI" on grails-core.git/fix/hibernate7-nested-join-type 
has failed.
Run started by GitHub user gustavoharff (triggered by borinquenkid).

Head commit for run:
1b7aba98823c51e8205f48b354c2fd57ab39cdfe / Gustavo Harff 
<[email protected]>
Cover the alias an association block realizes for later paths

The join of an association block is realized as an alias of its context
as well as tracked as a join, which no case covered. It matters when an
outer context has realized an alias of the same name: in
eq('face.name', 'Santa') owner { face { ... } eq('face.name', 'Homer') }
the resolver takes the outer alias before the joins of the owner block,
so without it face.name in the block is the face of the pet. Both new
cases fail without the alias, and a comment on it says why it is there.

The comments on recording join types rather than aliases now say that a
criterion on a property of the same name resolves to the property when
it comes before the block. After the block it resolves to the join, as
it already did on 8.0.x.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to