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.git
The following commit(s) were added to refs/heads/master by this push:
new 6d4a265 SLING-7685 - data-sly-resource throws
RecursionTooDeepException when used with dynamic variables that are null / empty
6d4a265 is described below
commit 6d4a265312dc80187768a77fd07a2190b3200e6d
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
---
.../org/apache/sling/scripting/sightly/it/SlingSpecificsSightlyIT.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/src/test/java/org/apache/sling/scripting/sightly/it/SlingSpecificsSightlyIT.java
b/src/test/java/org/apache/sling/scripting/sightly/it/SlingSpecificsSightlyIT.java
index 3cdc495..bdbc878 100644
---
a/src/test/java/org/apache/sling/scripting/sightly/it/SlingSpecificsSightlyIT.java
+++
b/src/test/java/org/apache/sling/scripting/sightly/it/SlingSpecificsSightlyIT.java
@@ -153,6 +153,7 @@ public class SlingSpecificsSightlyIT {
assertEquals("/sightly/resource", HTMLExtractor.innerHTML(url,
pageContent, "#_sightly_resource span" +
".path"));
assertEquals("false", HTMLExtractor.innerHTML(url, pageContent,
"#_sightly_resource span.synthetic"));
+ assertEquals("", HTMLExtractor.innerHTML(url, pageContent,
"#wrapper-no-recursion"));
}
@Test
--
To stop receiving notification emails like this one, please contact
[email protected].