[jira] [Commented] (SLING-12194) Cycle between scripting services

2023-12-10 Thread Carsten Ziegeler (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-12194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17795069#comment-17795069
 ] 

Carsten Ziegeler commented on SLING-12194:
--

Improve thread and cache handling and add basic test for script cache
https://github.com/apache/sling-org-apache-sling-scripting-core/commit/6c1ca32ea83939a45ebb5f1ac2ac20062cd9ad90

> Cycle between scripting services
> 
>
> Key: SLING-12194
> URL: https://issues.apache.org/jira/browse/SLING-12194
> Project: Sling
>  Issue Type: Bug
>  Components: Scripting
>Affects Versions: Scripting Core 2.4.8
>Reporter: Carsten Ziegeler
>Assignee: Carsten Ziegeler
>Priority: Major
> Fix For: Scripting Core 2.4.10
>
>
> There can be an activation cycle between the SlingScriptEngineManager , the 
> ScriptEngines and the ScriptCache if a ScriptEngine (e.g. Sightly) requires 
> the ScriptCache. The ScriptCache also requires the SlingScriptEngineManager  
> which then completes the cycle



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SLING-12194) Cycle between scripting services

2023-12-10 Thread Carsten Ziegeler (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-12194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17795068#comment-17795068
 ] 

Carsten Ziegeler commented on SLING-12194:
--

Fix dependency handling by moving dependency on service user mapping to the 
component which is using the service user
https://github.com/apache/sling-org-apache-sling-scripting-core/commit/0170d8713d26995d18cfb0b6d5bd01d4288ce7c1

> Cycle between scripting services
> 
>
> Key: SLING-12194
> URL: https://issues.apache.org/jira/browse/SLING-12194
> Project: Sling
>  Issue Type: Bug
>  Components: Scripting
>Affects Versions: Scripting Core 2.4.8
>Reporter: Carsten Ziegeler
>Assignee: Carsten Ziegeler
>Priority: Major
> Fix For: Scripting Core 2.4.10
>
>
> There can be an activation cycle between the SlingScriptEngineManager , the 
> ScriptEngines and the ScriptCache if a ScriptEngine (e.g. Sightly) requires 
> the ScriptCache. The ScriptCache also requires the SlingScriptEngineManager  
> which then completes the cycle



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SLING-12194) Cycle between scripting services

2023-12-08 Thread Carsten Ziegeler (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-12194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17794770#comment-17794770
 ] 

Carsten Ziegeler commented on SLING-12194:
--

Fix configuration handling 
https://github.com/apache/sling-org-apache-sling-scripting-core/commit/6be8493b45aad7c771ce3f00e5606239e76af948

> Cycle between scripting services
> 
>
> Key: SLING-12194
> URL: https://issues.apache.org/jira/browse/SLING-12194
> Project: Sling
>  Issue Type: Bug
>  Components: Scripting
>Affects Versions: Scripting Core 2.4.8
>Reporter: Carsten Ziegeler
>Assignee: Carsten Ziegeler
>Priority: Major
> Fix For: Scripting Core 2.4.10
>
>
> There can be an activation cycle between the SlingScriptEngineManager , the 
> ScriptEngines and the ScriptCache if a ScriptEngine (e.g. Sightly) requires 
> the ScriptCache. The ScriptCache also requires the SlingScriptEngineManager  
> which then completes the cycle



--
This message was sent by Atlassian Jira
(v8.20.10#820010)