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

Head commit for run:
a2a506999bd6a4241586b5a33942f23c86cb666f / ruthes00 <[email protected]>
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 by mentioning the render template: fallback and that 
MODEL_AND_VIEW takes precedence.

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

With regards,
GitHub Actions via GitBox

Reply via email to