Expand my Community achievements bar.

SOLVED

Missing jcr:content node on the page.

Avatar

Level 4

Hello guys,

I would like to understand about the "jcr: content" node. The node creates on the page creation. Would you tell me, when the node will be deleted?

I can see the page with "jcr:content" node on Author instance but the same page does not contain "jcr:content" node on Publisher instance. The page is deactivated on Author.

Please help me to understand about this.

Thanks

Nanda

1 Accepted Solution

Avatar

Correct answer by
Level 7

Hi Nanda,

jcr:content node is created at time of page creation. Pages in both author and publish should have jcr:content node. This node is deleted when we delete the respective page.

If we deactivate any page from author -  respective page should be deleted from publish.

Verified mentioned result in aem 6.2

View solution in original post

6 Replies

Avatar

Correct answer by
Level 7

Hi Nanda,

jcr:content node is created at time of page creation. Pages in both author and publish should have jcr:content node. This node is deleted when we delete the respective page.

If we deactivate any page from author -  respective page should be deleted from publish.

Verified mentioned result in aem 6.2

Avatar

Level 3

Hi Nandu,

We are also facing the same issue in 6.3 instance. In which instance or you facing the issue.  And are you facing this issue after an upgrade or fresh instance?.

Thanks,

Prem

Avatar

Community Advisor

Hi Nandu,
I would like to share one scenario where jce:content node doesn't created in publish.

Suppose you have created two pages first page called parentPage and second page created under parentPage called childPage. Now only childPage has been activated ..in this case dummy parentPage node will created in publish without any jcr:content along with complete childPage.

/Brijesh Yadav

Avatar

Community Advisor

You should not publish a child page if parent parent doesnt exist on publish. It creates issues. The one that you mentioned regarding jcr:content node not being created, it causes problems. I have seen it in 5.6 but I think it could be same in 6.x as well.

Take a look at KeEp cAlm & just cOdE it! : New Page/Site or Page Properties for a page disabled from siteadmin?  for details...

Avatar

Level 4

Yes, I agree with you, the page will be deleted from the publisher.

In my case, page still exists on the publisher after deactivation. But the jcr:content node is not present for the page. I can see the page in CRXDE  but without jcr:content.

I want to understand, how can it be possible?

Avatar

Level 2

I don't understand why AEM doesn't suggest the parent publication in the same way that page referecenes.

If a page without jcr:content have no sense, maybe AEM should public the parent or nothing in this case.