Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10113

data-sly-resource throwing RecursionTooDeepException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Scripting
    • None

    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:

      Attachments

        Activity

          People

            Unassigned Unassigned
            MFlock Marvin Flock
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: