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/01/27 15:01:32 UTC

(sling-org-apache-sling-starter) branch issue/SLING-13070 created (now 0c840eb)

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

rombert pushed a change to branch issue/SLING-13070
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git


      at 0c840eb  SLING-13070 - ScriptContextProvider for bundled scripts does not properly set JAKARTA_REQUEST and JAKARTA_REPONSE

This branch includes the following new commits:

     new 0c840eb  SLING-13070 - ScriptContextProvider for bundled scripts does not properly set JAKARTA_REQUEST and JAKARTA_REPONSE

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.



(sling-org-apache-sling-starter) 01/01: SLING-13070 - ScriptContextProvider for bundled scripts does not properly set JAKARTA_REQUEST and JAKARTA_REPONSE

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

rombert pushed a commit to branch issue/SLING-13070
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git

commit 0c840eb825a2ac5069edd46e99fb16e419844eec
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Tue Jan 27 15:46:33 2026 +0100

    SLING-13070 - ScriptContextProvider for bundled scripts does not properly set JAKARTA_REQUEST and JAKARTA_REPONSE
    
    Demonstrate problem by using the latest version of the test services and integration tests and
    also configuring the HTL script resolution cache size. The configuration is required to demonstrate
    the problem.
---
 pom.xml                                  | 2 +-
 src/main/features/test/test-content.json | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3b0dc14..d428288 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,7 +90,7 @@
         <dependency>
             <groupId>org.apache.sling</groupId>
             <artifactId>org.apache.sling.starter.integration-tests</artifactId>
-            <version>14</version>
+            <version>15-SNAPSHOT</version>
             <scope>test</scope>
             <exclusions>
                 <exclusion>
diff --git a/src/main/features/test/test-content.json b/src/main/features/test/test-content.json
index 176e6b5..3d1651e 100644
--- a/src/main/features/test/test-content.json
+++ b/src/main/features/test/test-content.json
@@ -2,7 +2,7 @@
   "id":"${project.groupId}:${project.artifactId}:slingosgifeature:test-content:${project.version}",  
   "bundles":[
     {
-      "id": "org.apache.sling:org.apache.sling.starter.test-services:14",
+      "id": "org.apache.sling:org.apache.sling.starter.test-services:15-SNAPSHOT",
       "start-order": "25"
     }
   ],
@@ -16,6 +16,9 @@
     "org.apache.sling.servlets.resolver.SlingServletResolver": {
       "servletresolver.cacheSize": 0
     },
+    "org.apache.sling.scripting.sightly.impl.engine.SightlyEngineConfiguration": {
+      "scriptResolutionCacheSize": 2048
+    },
     "integrationTestsConfig": {
       "message": "This test config should be loaded at startup"
     }