Expand my Community achievements bar.

Who Me Too'd this topic

Avatar

Level 2

Hi -

I've created a new editable page template and a page to use it. However, when I go to my publish instance to render the page I am always getting this error :

12.02.2019 15:00:51.035 *ERROR* [10.223.43.6 [1550012451027] GET /publish/content/xxxx/en/test-2/flex-homepage-test.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException

java.lang.IllegalArgumentException: page has no template assigned

at com.day.cq.wcm.foundation.TemplatedContainer.<init>(TemplatedContainer.java:66)

at com.day.cq.wcm.foundation.impl.templated.TemplatedContainerAdapterFactory.getAdapter(TemplatedContainerAdapterFactory.java:77)

but only when I am not authenticated on the publish instance. When I am authenticated on the publish instance I am able to see my page render.

All of my other pages are using static templates and are visible on the publish instance without being authenticated on the publish instance. What am I missing/doing wrong on this editable template and page to cause it to give me this error?

Thanks in advance for your help.

Who Me Too'd this topic