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 19:51:10 UTC

(grails-core) branch 7.0.x updated (d48ef39ac0 -> 6108b9f4ff)

This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a change to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git


    from d48ef39ac0 Merge pull request #15341 from sanjana2505006/feature/guard-duplicate-classes
     add b8950af8c9 Preserve servlet Errors through interceptor completion
     new 6108b9f4ff Merge pull request #16467 from apache/fix/interceptor-error-throwables

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         |   5 +-
 .../main/groovy/grails/artefact/Interceptor.groovy |   4 +-
 ...ailsInterceptorHandlerInterceptorAdapter.groovy |  12 ++-
 ...InterceptorHandlerInterceptorAdapterSpec.groovy | 104 +++++++++++++++++++++
 .../app1/grails-app/conf/spring/resources.groovy   |   6 ++
 .../controllers/functionaltests/UrlMappings.groovy |   3 +
 ...terceptor.groovy => ErrorPageController.groovy} |  24 ++---
 ...erceptor.groovy => ErrorPageInterceptor.groovy} |  24 ++---
 .../_simpleTemplate.gsp => errorPage/handle.gsp}   |   5 +-
 .../TomcatErrorPageInterceptorSpec.groovy          |  76 +++++++++++++++
 .../interceptors/StaticInitFailure.groovy          |  13 ++-
 .../interceptors/StaticInitFailureFilter.groovy    |  22 ++---
 .../{jetty => undertow}/build.gradle               |  19 +++-
 .../grails-app/assets/javascripts/application.js   |   0
 .../grails-app/assets/stylesheets/application.css  |   0
 .../grails-app/conf/application.yml                |  24 +++--
 .../grails-app/conf/logback-spring.xml             |   1 -
 .../grails-app/conf/spring/resources.groovy        |  14 ++-
 .../undertowapp/ErrorPageController.groovy         |  27 ++----
 .../undertowapp/ErrorPageInterceptor.groovy}       |  16 ++--
 .../controllers/undertowapp}/UrlMappings.groovy    |   4 +-
 .../init/undertowapp}/Application.groovy           |   7 +-
 .../grails-app/init/undertowapp}/BootStrap.groovy  |   2 +-
 .../{jetty => undertow}/grails-app/views/error.gsp |   1 +
 .../grails-app/views/errorPage/handle.gsp}         |   5 +-
 .../grails-app/views/notFound.gsp                  |   1 +
 .../UndertowErrorPageInterceptorSpec.groovy        |  81 ++++++++++++++++
 .../groovy/undertowapp/StaticInitFailure.groovy    |  13 ++-
 .../undertowapp/StaticInitFailureFilter.groovy     |  22 ++---
 settings.gradle                                    |   2 +
 30 files changed, 405 insertions(+), 132 deletions(-)
 copy grails-test-examples/app1/grails-app/controllers/functionaltests/interceptors/{HttpMethodMatchingInterceptor.groovy => ErrorPageController.groovy} (62%)
 copy grails-test-examples/app1/grails-app/controllers/functionaltests/interceptors/{HttpMethodMatchingInterceptor.groovy => ErrorPageInterceptor.groovy} (69%)
 copy grails-test-examples/app1/grails-app/views/{tagLibTest/_simpleTemplate.gsp => errorPage/handle.gsp} (89%)
 create mode 100644 grails-test-examples/app1/src/integration-test/groovy/functionaltests/interceptors/TomcatErrorPageInterceptorSpec.groovy
 copy grails-databinding-core/src/main/groovy/org/grails/databinding/converters/StructuredDateBindingEditor.groovy => grails-test-examples/app1/src/main/groovy/functionaltests/interceptors/StaticInitFailure.groovy (72%)
 copy grails-spring-security/rest/core/src/main/groovy/grails/plugin/springsecurity/rest/token/bearer/BearerTokenAccessDeniedHandler.groovy => grails-test-examples/app1/src/main/groovy/functionaltests/interceptors/StaticInitFailureFilter.groovy (58%)
 copy grails-test-examples/{jetty => undertow}/build.gradle (79%)
 copy grails-test-examples/{jetty => undertow}/grails-app/assets/javascripts/application.js (100%)
 copy grails-test-examples/{jetty => undertow}/grails-app/assets/stylesheets/application.css (100%)
 copy grails-test-examples/{hibernate5/grails-hibernate-groovy-proxy => undertow}/grails-app/conf/application.yml (81%)
 copy grails-test-examples/{jetty => undertow}/grails-app/conf/logback-spring.xml (97%)
 copy grails-test-examples/{hibernate5/grails-data-service => undertow}/grails-app/conf/spring/resources.groovy (76%)
 copy grails-core/src/main/groovy/grails/core/events/ArtefactAdditionEvent.groovy => grails-test-examples/undertow/grails-app/controllers/undertowapp/ErrorPageController.groovy (60%)
 copy grails-test-examples/{app1/grails-app/controllers/functionaltests/ErrorsControllerInterceptor.groovy => undertow/grails-app/controllers/undertowapp/ErrorPageInterceptor.groovy} (70%)
 copy grails-test-examples/{hibernate5/grails-multiple-datasources/grails-app/controllers/datasources => undertow/grails-app/controllers/undertowapp}/UrlMappings.groovy (90%)
 copy grails-test-examples/{hibernate5/grails-data-service/grails-app/init/example => undertow/grails-app/init/undertowapp}/Application.groovy (98%)
 copy grails-test-examples/{demo33/grails-app/init/demo => undertow/grails-app/init/undertowapp}/BootStrap.groovy (97%)
 copy grails-test-examples/{jetty => undertow}/grails-app/views/error.gsp (99%)
 copy grails-test-examples/{app1/grails-app/views/tagLibTest/_simpleTemplate.gsp => undertow/grails-app/views/errorPage/handle.gsp} (89%)
 copy grails-test-examples/{jetty => undertow}/grails-app/views/notFound.gsp (99%)
 create mode 100644 grails-test-examples/undertow/src/integration-test/groovy/undertowapp/UndertowErrorPageInterceptorSpec.groovy
 copy grails-databinding-core/src/main/groovy/org/grails/databinding/converters/StructuredDateBindingEditor.groovy => grails-test-examples/undertow/src/main/groovy/undertowapp/StaticInitFailure.groovy (73%)
 copy grails-spring-security/rest/core/src/main/groovy/grails/plugin/springsecurity/rest/token/bearer/BearerTokenAccessDeniedHandler.groovy => grails-test-examples/undertow/src/main/groovy/undertowapp/StaticInitFailureFilter.groovy (58%)


(grails-core) 01/01: Merge pull request #16467 from apache/fix/interceptor-error-throwables

Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 6108b9f4ff4768587a43417544ec169d0c3122dd
Merge: d48ef39ac0 b8950af8c9
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Fri Oct 2 15:51:05 2026 -0400

    Merge pull request #16467 from apache/fix/interceptor-error-throwables
    
    Preserve servlet Errors through interceptor completion

 .../interceptors/definingInterceptors.adoc         |   5 +-
 .../main/groovy/grails/artefact/Interceptor.groovy |   4 +-
 ...ailsInterceptorHandlerInterceptorAdapter.groovy |  12 ++-
 ...InterceptorHandlerInterceptorAdapterSpec.groovy | 104 +++++++++++++++++++++
 .../app1/grails-app/conf/spring/resources.groovy   |   6 ++
 .../controllers/functionaltests/UrlMappings.groovy |   3 +
 .../interceptors/ErrorPageController.groovy}       |  27 +++---
 .../interceptors/ErrorPageInterceptor.groovy}      |  27 +++---
 .../app1/grails-app/views/errorPage/handle.gsp     |  18 ++++
 .../TomcatErrorPageInterceptorSpec.groovy          |  76 +++++++++++++++
 .../interceptors/StaticInitFailure.groovy}         |  24 ++---
 .../interceptors/StaticInitFailureFilter.groovy    |  41 ++++++++
 grails-test-examples/undertow/build.gradle         |  75 +++++++++++++++
 .../grails-app/assets/javascripts/application.js   |  16 ++++
 .../grails-app/assets/stylesheets/application.css  |  18 ++++
 .../undertow/grails-app/conf/application.yml       |  36 +++++++
 .../undertow/grails-app/conf/logback-spring.xml    |  41 ++++++++
 .../grails-app/conf/spring/resources.groovy        |  18 ++--
 .../undertowapp/ErrorPageController.groovy}        |  27 +++---
 .../undertowapp/ErrorPageInterceptor.groovy}       |  27 +++---
 .../controllers/undertowapp/UrlMappings.groovy}    |  25 ++---
 .../init/undertowapp/Application.groovy}           |  24 ++---
 .../grails-app/init/undertowapp/BootStrap.groovy}  |  20 ++--
 .../undertow/grails-app/views/error.gsp            |  30 ++++++
 .../undertow/grails-app/views/errorPage/handle.gsp |  18 ++++
 .../undertow/grails-app/views/notFound.gsp         |  29 ++++++
 .../UndertowErrorPageInterceptorSpec.groovy        |  81 ++++++++++++++++
 .../groovy/undertowapp/StaticInitFailure.groovy}   |  24 ++---
 .../undertowapp/StaticInitFailureFilter.groovy     |  41 ++++++++
 settings.gradle                                    |   2 +
 30 files changed, 783 insertions(+), 116 deletions(-)