The GitHub Actions job "SiteMesh 2 Compatibility" 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 <[email protected]>
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/36913843749

With regards,
GitHub Actions via GitBox

Reply via email to