Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Hi ,
When I am going through the error log of my server noticed that major portion of the log is covered by a warning which states "Get /content/test/en_US/demoPage.html Http /1.1] core.day.cq.wcm.core.impl.page.PageImpl page at /content/test/en_US does not have a jcr:content childresource". Could anyone explain what will be the issue?
Vistas
Respuestas
Total de me gusta
HI @HelpTech ,
This is mainly happening because page path "/content/test/en_US" or some of the child pages of this path doesn't contain "jcr:content" node underneath it.
As a consequence of it when core page model class is trying to retrieve them its generating log trace.
You can verify if any jcr:content node is missing by going into your "http://localhost:4502/crx/de/index.js" console and look for missing "jcr:content" from the content path.
Thanks
Tarun
Vistas
Respuestas
Total de me gusta
Hi TarunKumar,
I checked the crx nodes seems like all the pages are having jcr:content
Vistas
Respuestas
Total de me gusta
It's just a warning.
(I have seen to often code, which assumes that every page as jcr:content child node. According to the number of warnings I see this is not always the case.)
Vistas
Respuestas
Total de me gusta
Hi Jorg_Hoh
Is there a way to remove it from the logs?
As this is from Core implementation file is there a way to remove or fix this warning?
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
Yes, it will be removed soon (loglevel degraded to DEBUG)
Vistas
Respuestas
Total de me gusta
Thanks a lot, that's good news!
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas