The GitHub Actions job "Code Style" on 
grails-core.git/fix/basic-collection-in-14610 has failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
5ef6e7bfbcd87266ea856aae39e4a9366acd57b8 / James Fredley 
<[email protected]>
Fix basic collection type 'in' query (#14610)

When a domain has hasMany to a basic type (e.g. hasMany: [schools: String]),
using 'in'('schools', ['School2']) in criteria queries fails with 'Parameter
#1 is not set'. The Basic collection is stored in a join table but
Restrictions.in() generates SQL against the main entity table.

Fix by detecting Basic collection properties in the 'in' methods and
automatically creating an alias to the collection table, then restricting
on the 'elements' pseudo-property instead.

Assisted-by: Claude Code <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to