You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2026/02/11 17:55:22 UTC
(sling-org-apache-sling-scripting-core) branch master updated (6618068 -> 3ecf995)
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-core.git
from 6618068 SLING-13070 - ScriptContextProvider for bundled scripts does not properly set JAKARTA_REQUEST and JAKARTA_REPONSE (#33)
add 3b69f22 SLING-13103 - Wrong ResourceResolver set in script bindings after request dispatch in a Jakarta Context
add d0d575f SLING-13103 - Wrong ResourceResolver set in script bindings after request dispatch in a Jakarta Context
new 3ecf995 SLING-13103 - Wrong ResourceResolver set in script bindings after request dispatch in a Jakarta Context (#34)
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:
.../apache/sling/scripting/core/ScriptHelper.java | 13 +++++-
.../scripting/core/impl/DefaultSlingScript.java | 7 +--
.../sling/scripting/core/ScriptHelperTest.java | 54 ++++++++++++----------
3 files changed, 46 insertions(+), 28 deletions(-)
(sling-org-apache-sling-scripting-core) 01/01: SLING-13103 - Wrong ResourceResolver set in script bindings after request dispatch in a Jakarta Context (#34)
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-core.git
commit 3ecf99503f9c2e46f39d90100ac380ec3d12d6f4
Merge: 6618068 d0d575f
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Wed Feb 11 18:55:17 2026 +0100
SLING-13103 - Wrong ResourceResolver set in script bindings after request dispatch in a Jakarta Context (#34)
- use the resource resolver from the resource, not the one from the request.
- ensure that ScriptHelper.getRequest() also returns the right ResourceResolver.
.../apache/sling/scripting/core/ScriptHelper.java | 13 +++++-
.../scripting/core/impl/DefaultSlingScript.java | 7 +--
.../sling/scripting/core/ScriptHelperTest.java | 54 ++++++++++++----------
3 files changed, 46 insertions(+), 28 deletions(-)