You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to overlay form option.java to get the data in json format using exporter framework.
However, everything works as expected with the override and to get items data I've used:
@Override
public List<OptionItem> getItems() {
return superSelf.getItems();
}
This method throws error when option is selected from Datasource ERROR [OptionsImpl.java] Failed to include the datasource at weretail/components/form/options/datasource/countriesdatasource
org.apache.sling.api.request.RecursionTooDeepException
Same works fine with Local and List.
ERROR [OptionsImpl.java] Failed to include the datasource at weretail/components/form/options/datasource/countriesdatasource
org.apache.sling.api.request.RecursionTooDeepException: /content/ckj/testpage/jcr:content/root/options
at org.apache.sling.engine.impl.request.RequestData.setContent(RequestData.java:571)
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProcessorImpl.java:312)
at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatcher.java:211)
at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatcher.java:104)
at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponentFilter.java:516)
at com.adobe.cq.wcm.core.components.internal.models.v1.form.OptionsImpl.populateOptionItemsFromDatasource(OptionsImpl.java:209)
at com.adobe.cq.wcm.core.components.internal.models.v1.form.OptionsImpl.populateOptionItems(OptionsImpl.java:161)
at com.adobe.cq.wcm.core.components.internal.models.v1.form.OptionsImpl.getItems(OptionsImpl.java:107)
at sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Team,
I'm trying to overlay form option.java to get the data in json format using exporter framework.
However, everything works as expected with the override and to get items data I've used:
This method throws error when option is selected from Datasource ERROR [OptionsImpl.java] Failed to include the datasource at weretail/components/form/options/datasource/countriesdatasource
org.apache.sling.api.request.RecursionTooDeepException
Same works fine with Local and List.
Beta Was this translation helpful? Give feedback.
All reactions