The GitHub Actions job "CI" on 
grails-core.git/naming-strategy-table-name-mapping-fix has failed.
Run started by GitHub user borinquenkid (triggered by jamesfredley).

Head commit for run:
546fea44a98c157e81c7739443514038f273c5ea / Walter Duque de Estrada 
<[email protected]>
Strip backticks from resolved associated-entity table names

resolveAssociatedEntityTableName's result is only ever used as a
column-identifier fragment (a join-table foreign-key or element
column name) by its callers, never as a literal SQL identifier - so
a backtick-quoted table mapping (e.g. table '`user`') produced a
malformed column like `user`_id via resolveJoinTableForeignKeyColumnName,
generating invalid DDL that fails silently without hbm2ddl.halt_on_error.

Strips backticks once at the source instead of trusting each caller to
do it themselves, since every caller wants the clean form. Adds a
domain-class-only regression test (no mocks) reproducing the bug via a
real unidirectional hasMany join-table binding.

Co-Authored-By: Claude Sonnet 5 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to