Karl Pauls created SLING-10939:
----------------------------------
Summary: Don't register precompiled scripts that are missing
Key: SLING-10939
URL: https://issues.apache.org/jira/browse/SLING-10939
Project: Sling
Issue Type: Bug
Components: Scripting, Servlets
Affects Versions: Servlets Resolver 2.9.0, Scripting Core 2.4.0
Reporter: Karl Pauls
Assignee: Karl Pauls
Fix For: Scripting Core 2.4.2, Servlets Resolver 2.9.2
When a bundle provides resource type capabilities for scripts that turn out to
be missing an executable from the bundle (or can't be loaded) there is a case
where if the resource type extends another resource type it is possible that a
parent script is found.
When the resource type wasn't based on a script in the bundle, then this should
cause a registration of the parent script (and it does) - however, when it was
based on a script in the bundle, it shouldn't be registered (but it is).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)