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 <[email protected]>
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(-)

Reply via email to