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/08/19 14:19:00 UTC
[jira] [Resolved] (SLING-9671) Allow non-bundled inheriting
resource types to override Use-API templates
[ https://issues.apache.org/jira/browse/SLING-9671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu resolved SLING-9671.
---------------------------------
Resolution: Fixed
Fixed in [commit 5f34369|https://github.com/apache/sling-org-apache-sling-scripting-sightly/commit/5f34369].
> Allow non-bundled inheriting resource types to override Use-API templates
> -------------------------------------------------------------------------
>
> Key: SLING-9671
> URL: https://issues.apache.org/jira/browse/SLING-9671
> 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
>
> SLING-9328 added support for loading templates via the {{org.apache.sling.servlets.resolver.bundle.tracker.BundledRenderUnit}} API. However, when working with a bundled HTL script (precompiled or not), only template libraries available via the bundled script's {{org.apache.sling.servlets.resolver.bundle.tracker.TypeProvider}} hierarchy are considered, not allowing scripts from the resource tree to override the behaviour.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)