You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2020/09/29 14:57:00 UTC
[jira] [Closed] (SLING-9718) Relative paths for bundled HTL
template files are not correctly handled
[ https://issues.apache.org/jira/browse/SLING-9718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu closed SLING-9718.
-------------------------------
> 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)