This is an automated email from the ASF dual-hosted git repository.
radu pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-testing-content.git
The following commit(s) were added to refs/heads/master by this push:
new 18fe234 SLING-7685 - data-sly-resource throws
RecursionTooDeepException when used with dynamic variables that are null / empty
18fe234 is described below
commit 18fe23447dd31b95c1558d994943b722514f1955
Author: Radu Cotescu <[email protected]>
AuthorDate: Mon Jun 18 17:52:54 2018 +0200
SLING-7685 - data-sly-resource throws RecursionTooDeepException when used
with dynamic variables that are null / empty
* skip resource include if the include points to the same resource /
selectors / resource type combination
as the request's current resource
---
src/main/resources/SLING-INF/apps/sightly/scripts/resource/resource.html | 1 +
1 file changed, 1 insertion(+)
diff --git
a/src/main/resources/SLING-INF/apps/sightly/scripts/resource/resource.html
b/src/main/resources/SLING-INF/apps/sightly/scripts/resource/resource.html
index 23f5a82..a397e6f 100644
--- a/src/main/resources/SLING-INF/apps/sightly/scripts/resource/resource.html
+++ b/src/main/resources/SLING-INF/apps/sightly/scripts/resource/resource.html
@@ -32,5 +32,6 @@
<sly data-sly-resource="${'/sightly/resource.with.dots.in.path' @
resourceType='sightly/scripts/renderer'}"/>
<sly data-sly-resource="${'/sightly/nonexistingresource' @
resourceType='sightly/scripts/renderer'}"/>
<sly data-sly-resource="${@ resourceType='sightly/scripts/renderer'}"/>
+<div id="wrapper-no-recursion" data-sly-resource="${'.'}"></div>
</body>
</html>
--
To stop receiving notification emails like this one, please contact
[email protected].