The GitHub Actions job "CI" on grails-core.git/feat/gorm-registry-core-impl has 
failed.
Run started by GitHub user borinquenkid (triggered by borinquenkid).

Head commit for run:
7dcf26ed398c3a914e39bf9094c4189b4e6bf43a / Walter Duque de Estrada 
<[email protected]>
Fix MongoDB functional tests: fall back to enhancer API factory when no 
GormApiFactory registered

Without a specialized GormApiFactory registered for MongoDB (only H5/H7 register
HibernateGormApiFactory via registerConstraints), GormRegistry.registerEntity 
fell
back to DefaultGormApiFactory, which created base GormStaticApi instead of
MongoStaticApi — causing ClassCastException in 
MongoEntity.currentMongoStaticApi().

When no specialized factory is registered for the datastore, delegate to the
enhancer's overridden getStaticApi/getInstanceApi/getValidationApi methods, 
which
polymorphically dispatch to adapter-specific anonymous subclass overrides (e.g.
MongoDatastore's anonymous MongoGormEnhancer override that creates 
MongoStaticApi).

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

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

With regards,
GitHub Actions via GitBox

Reply via email to