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

Marvin Flock updated SLING-10113:
---------------------------------
    Description: 
AEM Version 6.5.7

While using data-sly-resource with a path, I get a RecursionTooDeepException.
 See -SLING-7685-  for Similarity

I currently cant make hold of the behavior, using

_<div data-sly-resource="${targetPagePath}"></div>_
 will include the current page infinite times (at least it tries) instead of 
the target page
 while using something like this:
 _<sly data-sly-resource="${targetPagePath @ 
appendPath='jcr:content/anyResource'}"></sly>_
 will render the curentPage with the RecursionTooDeepException.

The HTL Engine I am using is of the following version:
 !image-2021-02-01-17-40-19-873.png!

  was:
AEM Version 6.5.7

While using data-sly-resource with a path, I get a RecursionTooDeepException.
See -SLING-7685-  for Reference

I currently cant make hold of the behavior, using

_<div data-sly-resource="${targetPagePath}"></div>_
will include the current page infinite times (at least it tries) instead of the 
target page
while using something like this:
_<sly data-sly-resource="${targetPagePath @ 
appendPath='jcr:content/anyResource'}"></sly>_
will render the curentPage with the RecursionTooDeepException.


The HTL Engine I am using is of the following version:
!image-2021-02-01-17-40-19-873.png!


> data-sly-resource throwing RecursionTooDeepException
> ----------------------------------------------------
>
>                 Key: SLING-10113
>                 URL: https://issues.apache.org/jira/browse/SLING-10113
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Marvin Flock
>            Priority: Major
>         Attachments: image-2021-02-01-17-40-19-873.png
>
>
> AEM Version 6.5.7
> While using data-sly-resource with a path, I get a RecursionTooDeepException.
>  See -SLING-7685-  for Similarity
> I currently cant make hold of the behavior, using
> _<div data-sly-resource="${targetPagePath}"></div>_
>  will include the current page infinite times (at least it tries) instead of 
> the target page
>  while using something like this:
>  _<sly data-sly-resource="${targetPagePath @ 
> appendPath='jcr:content/anyResource'}"></sly>_
>  will render the curentPage with the RecursionTooDeepException.
> The HTL Engine I am using is of the following version:
>  !image-2021-02-01-17-40-19-873.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to