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/08/31 04:06:17 UTC
[GH] (grails-core/feature/spring-media-type-negotiation-8.0.x): Workflow run "SiteMesh 2 Compatibility" is working again!
The GitHub Actions job "SiteMesh 2 Compatibility" on grails-core.git/feature/spring-media-type-negotiation-8.0.x has succeeded.
Run started by GitHub user codeconsole (triggered by codeconsole).
Head commit for run:
cf6acd9862ab52c25a062c452e90a8cb48e2c6e2 / Scott Murphy Heiberg <sc...@alwaysvip.com>
Resolve domain serializers when a type is first written
GrailsJsonMapperCustomizer enumerated the mapping context while the
JsonMapper was being built. Anything injecting Boot's JsonMapper pulls
Jackson auto-configuration into the bean graph ahead of GORM -- since
this change that includes JsonDataBindingSourceCreator, which
MimeTypesConfiguration depends on -- so the enumeration ran too early
and threw:
MappingContext.getPersistentEntities() cannot be accessed before
GORM has initialized
That failed the whole application context, not just JSON: the CI
functional suites failed at startup on it, 441 occurrences in one job.
Contribute a Serializers that resolves a type's entity the first time
it is written instead, and walk superclasses so proxies still use their
domain class's metadata. Domain classes registered after the mapper was
built are now picked up too.
Report URL: https://github.com/apache/grails-core/actions/runs/33352236999
With regards,
GitHub Actions via GitBox