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 2017/03/02 14:16:45 UTC

[jira] [Closed] (SLING-6476) [HTL] data-sly-resource transforms resources with dots in their paths to SyntheticResources

     [ https://issues.apache.org/jira/browse/SLING-6476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu closed SLING-6476.
-------------------------------

> [HTL] data-sly-resource transforms resources with dots in their paths to SyntheticResources
> -------------------------------------------------------------------------------------------
>
>                 Key: SLING-6476
>                 URL: https://issues.apache.org/jira/browse/SLING-6476
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: Scripting Sightly Engine 1.0.0
>            Reporter: Bart Wulteputte
>            Assignee: Radu Cotescu
>             Fix For: Scripting HTL Engine 1.0.32
>
>         Attachments: htl-vs-sling-1.0.zip
>
>
> There seems to be a difference between the includes done by HTL and by JSP when it comes to valid resources which contain more than 2 dots in their name. This didn't used to be the case in older versions of HTL. JSP and HTL used to be interchangeable, but that's no longer the case for these kinds of resource paths.
> I'm coming from an AEM background where the issue appeared post upgrade from 6.0 (SP2) to 6.2. So I'm not sure where exactly this puts the issue in terms of sightly versions (since this is in the transference period of sightly being donated to apache, and being renamed, rebranded and reversioned)
> I've prepared a package which illustrates the issue on the latest sling build of the trunk. The difference can be viewed by installing the attached package on a sling and looking at /content/jspPage.html vs /content/htlPage.html. Both pages include the same set of resource paths which are expected to yield the same results, but they don't.
> There you will see that resource paths containing more than 1 dot are interpreted by sightly and resolve to a synthetic resource rather than the actual existing resource.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)