Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Unable to open page properties in editable templates

Avatar

Level 4

Hi All,

 

We are trying to migrate from static templates to editable templates. After migration we are facing issue.

When we try to open the page properties from the page it doesn't opens up and gives below warning in the error log file.

 

29.10.2020 13:27:44.370 *WARN* [0:0:0:0:0:0:0:1 [1603974464366] GET /editor.html/content/mysite/en/undefined.html/content/mysite/en/foo HTTP/1.1] com.adobe.cq.xf.impl.servlet.rendercondition.EditorRenderCondition Page at path /content/mysite/en/undefined.html/content/mysite/en/foo doesn't have a jcr:content node

When we try to open the page from site.html page we get below error. 

*ERROR* [0:0:0:0:0:0:0:1 [1603974815126] GET /mnt/overlay/wcm/core/content/sites/properties.html HTTP/1.1] libs.granite.ui.components.shell.propertiespage Unable to render properties page correctly

org.apache.sling.api.scripting.ScriptEvaluationException:

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:416) [org.apache.sling.scripting.core:2.0.56]

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:184) [org.apache.sling.scripting.core:2.0.56]

            at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:491) [org.apache.sling.scripting.core:2.0.56]

            at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552) [org.apache.sling.engine:2.7.2]

            at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44) [org.apache.sling.engine:2.7.2]

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:82) [org.apache.sling.engine:2.7.2]

            at com.day.cq.wcm.core.impl.WCMDeveloperModeFilter.doFilter(WCMDeveloperModeFilter.java:119) [com.day.cq.wcm.cq-wcm-core:5.12.142]

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72) [org.apache.sling.engine:2.7.2]

            at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:156) [com.day.cq.wcm.cq-wcm-core:5.12.142]

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72) [org.apache.sling.engine:2.7.2]

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:78) [org.apache.sling.engine:2.7.2]

            at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:375) [com.day.cq.wcm.cq-wcm-core:5.12.142]

            at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:190) [com.day.cq.wcm.cq-wcm-core:5.12.142]

            at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:72) [org.apache.sling.engine:2.7.2]

 

 

Has anyone faced or seen this error?

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@subrato_kha 

 

While converting the Static to Editable Templates, we also need to assure we update the existing page structures as well. A page created from Editable template would have structure like this

aanchalsikka_0-1723373847982.png

 

 

A good tool to adapt Pages is https://opensource.adobe.com/aem-modernize-tools/

Please use the WKND Site to understand the page structures better


Aanchal Sikka

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@subrato_kha 

 

While converting the Static to Editable Templates, we also need to assure we update the existing page structures as well. A page created from Editable template would have structure like this

aanchalsikka_0-1723373847982.png

 

 

A good tool to adapt Pages is https://opensource.adobe.com/aem-modernize-tools/

Please use the WKND Site to understand the page structures better


Aanchal Sikka