Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Two Column Control Component(colctrl) - org.apache.sling.api.request.RecursionTooDeepException

Avatar

Level 4

Hello All,

We created a page, using a content page component(partial code below), which has 2 pars pointed to a custom iparsys.

<div class="row" style="margin-top: 10px">
<
div class="col-md-8 col-xs-8">
<
span style="display: block; text-align: center; margin-bottom: 15px">Left </span>
<
div style="margin-left: 10px" data-sly-resource="${'left' @ resourceType='abc/components/content/site/custom-iparsys'}"></div>
</
div>
<
div class="col-md-8 col-xs-8" style="border-left: 1px dashed #e6e6e6;">
<
span style="display: block; text-align: center; margin-bottom: 15px">Right </span>
<
div style="margin-right: 10px" data-sly-resource="${'right' @ resourceType='abc/components/content/site/custom-iparsys'}"></div>
</
div>
</
div>

When we drag and drop,  two column control component(foundation/components/parsys/colctrl) to any of the above pars, we are getting below exception in AEM 6.3(which is correctly working in AEM 6.0).

Could you please provide some pointers to resolve this issue ?

  1. 06.04.2018 14:55:36.195 *ERROR* [0:0:0:0:0:0:0:1 [1523006735354] GET /content/xyx/test.html HTTP/1.1] com.day.cq.wcm.core.impl.WCMDeveloperModeFilter Error during include of SlingRequestPathInfo: path='/content/xyz/test/jcr:content/left', selectorString='null', extension='html', suffix='null'
  • org.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.request.RecursionTooDeepException: /content/xyz/test/jcr:content/left/colctrl

Thanks And Regards

3 Replies

Avatar

Level 10

Talking with AEM Support - they recommend using the layout component as opposed to IParsys. Configuring Layout Container and Layout Mode

Avatar

Level 10

Also you can use editable templates and configure the layout that is associated with an editable template.

Avatar

Level 4

Thanks Scott!

But we have done a critical and core customization to iparsys, so we can't replace it with Layout Container for now.

It will be great, if you could let us know why below exceptions will be thrown generally and how to resolve it?

06.04.2018 14:55:36.195 *ERROR* [0:0:0:0:0:0:0:1 [1523006735354] GET /content/xyx/test.html HTTP/1.1] com.day.cq.wcm.core.impl.WCMDeveloperModeFilter Error during include of SlingRequestPathInfo: path='/content/xyz/test/jcr:content/left', selectorString='null', extension='html', suffix='null' org.apache.sling.scripting.sightly.SightlyException: org.apache.sling.api.request.RecursionTooDeepException: /content/xyz/test/jcr:content/left/colctrl

Thanks in Advance