[
https://issues.apache.org/jira/browse/SLING-9718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17190303#comment-17190303
]
Radu Cotescu edited comment on SLING-9718 at 9/3/20, 5:03 PM:
--------------------------------------------------------------
Fixed in [commit
65c4814|https://github.com/apache/sling-org-apache-sling-scripting-sightly/commit/65c4814],
added tests in [commit
cef5f6a|https://github.com/apache/sling-org-apache-sling-scripting-bundle-tracker-it/commit/cef5f6a].
was (Author: radu.cotescu):
Fixed in [commit
65c4814|[https://github.com/apache/sling-org-apache-sling-scripting-sightly/commit/65c4814],]
added tests in [commit
cef5f6a|https://github.com/apache/sling-org-apache-sling-scripting-bundle-tracker-it/commit/cef5f6a].
> Relative paths for bundled HTL template files are not correctly handled
> -----------------------------------------------------------------------
>
> Key: SLING-9718
> URL: https://issues.apache.org/jira/browse/SLING-9718
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting HTL Engine 1.4.0-1.4.0
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Priority: Major
> Fix For: Scripting HTL Engine 1.4.4-1.4.0
>
>
> If a template library (a file providing one or more HTL templates) is bundled
> (precompiled or not) and is loaded by a caller using a relative path, the
> loading might fail if the lookup is done via the
> {{org.apache.sling.scripting.sightly.impl.engine.bundled.BundledUnitManagerImpl#getRenderUnit(javax.script.Bindings,
> java.lang.String)}} service method.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)