[
https://issues.apache.org/jira/browse/SLING-12194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-12194.
--------------------------------------
Assignee: Carsten Ziegeler
Resolution: Fixed
I broke the cycle by moving the event based invalidation to a separate
component and bending slightly the contract of the removeScript method of the
cache (now able to take a prefix path)
https://github.com/apache/sling-org-apache-sling-scripting-core/commit/3249d3989bd0ca7f7dc5552d4ce6f4853c577425
> 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)