[
https://issues.apache.org/jira/browse/SLING-4483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu resolved SLING-4483.
---------------------------------
Resolution: Fixed
Fixed in
[r1665219|https://svn.apache.org/viewvc?view=revision&revision=1665219]:
* applied patch provided by Vlad Băilescu for ResourceRuntimeExtension
(https://github.com/apache/sling/pull/66)
* added test to check the behaviour of resource inclusion
> Sightly: data-sly-resource does not properly resolve relative paths
> -------------------------------------------------------------------
>
> Key: SLING-4483
> URL: https://issues.apache.org/jira/browse/SLING-4483
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting Sightly Engine 1.0.0
> Reporter: Vlad Bailescu
> Assignee: Radu Cotescu
> Priority: Minor
> Fix For: Scripting Sightly Engine 1.0.0
>
>
> The following resource inclusion is not working:
> {code:html}
> <div data-sly-resource="${@ path='.', resourceType='foo/bar'}"></div>
> {code}
> The returned error is:
> {{org.apache.sling.scripting.sightly.impl.engine.extension.ResourceRuntimeExtension
> Script path cannot be empty}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)