Does not have jcr:content childresource | Community
Skip to main content
Level 3
February 9, 2024

Does not have jcr:content childresource

  • February 9, 2024
  • 2 replies
  • 1777 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

TarunKumar
Community Advisor
Community Advisor
February 9, 2024

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

HelpTechAuthor
Level 3
February 15, 2024

Hi TarunKumar,

I checked the crx nodes seems like all the pages are having jcr:content

joerghoh
Adobe Employee
Adobe Employee
February 11, 2024

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.)

HelpTechAuthor
Level 3
February 15, 2024

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?