You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/10/02 21:58:38 UTC
(grails-core) branch 8.0.x updated (44be66fbb7 -> ff1fc7ec98)
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 44be66fbb7 Merge pull request #16457 from apache/fix/16454-datasource-metadata-defaults
add 3c5dd9c732 Updated `getModel()` with fallback: when no `ModelAndView` is set in the request, it returns the value stored under `GrailsApplicationAttributes.TEMPLATE_MODEL`:
add 774f97ce5e Merge branch '8.0.x' into fix/12081-interceptor-model-unavailable
add f9e483ceef Document template models for interceptors and cover both test apps
add 28db5ad989 Merge branch '8.0.x' into fix/12081-interceptor-model-unavailable
add 8f4287c647 Merge branch '8.0.x' into fix/12081-interceptor-model-unavailable
new ff1fc7ec98 Merge pull request #16453 from ruthst00/fix/12081-interceptor-model-unavailable
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../interceptors/definingInterceptors.adoc | 33 ++++++++++++++-
.../src/en/guide/upgrading/upgrading80x.adoc | 17 ++++++++
.../main/groovy/grails/artefact/Interceptor.groovy | 14 ++++++-
.../groovy/grails/artefact/InterceptorSpec.groovy | 48 ++++++++++++++++++++++
.../skills/grails-8-upgrade/SKILL.md | 6 +++
.../functional/tests/ModelInterceptor.groovy | 2 +-
...ller.groovy => RenderTemplateController.groovy} | 15 +++----
.../grails-app/views/renderTemplate/_snippet.gsp} | 3 +-
.../tests/ModelInterceptorIntSpec.groovy | 25 +++++++++++
.../functional/tests/ModelInterceptor.groovy | 2 +-
.../tests/RenderTemplateController.groovy} | 15 +++----
.../grails-app/views/renderTemplate/_snippet.gsp} | 3 +-
.../tests/ModelInterceptorIntSpec.groovy | 25 +++++++++++
13 files changed, 186 insertions(+), 22 deletions(-)
copy grails-test-examples/hibernate7/views-functional-tests/grails-app/controllers/functional/tests/{PersonInheritanceController.groovy => RenderTemplateController.groovy} (70%)
copy grails-test-examples/{app1/grails-app/views/errorPage/handle.gsp => hibernate7/views-functional-tests/grails-app/views/renderTemplate/_snippet.gsp} (94%)
copy grails-test-examples/{hibernate7/views-functional-tests/grails-app/controllers/functional/tests/PersonInheritanceController.groovy => views-functional-tests/grails-app/controllers/functional/tests/RenderTemplateController.groovy} (70%)
copy grails-test-examples/{app1/grails-app/views/errorPage/handle.gsp => views-functional-tests/grails-app/views/renderTemplate/_snippet.gsp} (94%)
(grails-core) 01/01: Merge pull request #16453 from ruthst00/fix/12081-interceptor-model-unavailable
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit ff1fc7ec984a7d82816bd458f7327f4c752cdb79
Merge: 44be66fbb7 8f4287c647
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Fri Oct 2 17:58:32 2026 -0400
Merge pull request #16453 from ruthst00/fix/12081-interceptor-model-unavailable
Updated `getModel()` with fallback: when no `ModelAndView` is set in the request.
.../interceptors/definingInterceptors.adoc | 33 ++++++++++++++-
.../src/en/guide/upgrading/upgrading80x.adoc | 17 ++++++++
.../main/groovy/grails/artefact/Interceptor.groovy | 14 ++++++-
.../groovy/grails/artefact/InterceptorSpec.groovy | 48 ++++++++++++++++++++++
.../skills/grails-8-upgrade/SKILL.md | 6 +++
.../functional/tests/ModelInterceptor.groovy | 2 +-
...ptor.groovy => RenderTemplateController.groovy} | 21 ++++------
.../grails-app/views/renderTemplate/_snippet.gsp | 19 +++++++++
.../tests/ModelInterceptorIntSpec.groovy | 25 +++++++++++
.../functional/tests/ModelInterceptor.groovy | 2 +-
.../tests/RenderTemplateController.groovy} | 21 ++++------
.../grails-app/views/renderTemplate/_snippet.gsp | 19 +++++++++
.../tests/ModelInterceptorIntSpec.groovy | 25 +++++++++++
13 files changed, 222 insertions(+), 30 deletions(-)