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/10/01 21:22:14 UTC

[GH] (grails-core/fix/12081-interceptor-model-unavailable): Workflow run "CI" is working again!

The GitHub Actions job "CI" on grails-core.git/fix/12081-interceptor-model-unavailable has succeeded.
Run started by GitHub user ruthst00 (triggered by jdaugherty).

Head commit for run:
ee5f590b7a84c69afe8d0eaae3f9c212f1ff46e5 / ruthes00 <ru...@gmail.com>
Updated documentation with the follow notes and caveats:

- Bean and collection renders behave the same after this change and return null or part of the model.
- For render template:, model is read-only information about what was rendered, and changing model or view in after() has no effect.

The second test in `ModelInterceptorIntSpec` has been strengthened with a direct map equality assertion. Three files were updated:

1. RenderTemplateController.groovy — changed the model from `[message: 'hello from template']` to `[title: 'x']`
2. _snippet.gsp — updated the template variable from `${message}` to `${title}`
3. ModelInterceptorIntSpec.groovy — replaced the piecemeal `!= null` / `instanceof Map` / `.message == ...` assertions with a single direct equality check: `modelInterceptor.latestModel == [title: 'x']`

Updated getModel() javadoc.

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

With regards,
GitHub Actions via GitBox