Default MSM ghost nodes under components in Livecopy
Hi Team,
We are using AEM 6.1 SP2-CFP4 and we are having a lot of ghost nodes in the content with the following node structure :
<carouselItem
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/personalization/components/target"
accurateTargeting="true"
<default
jcr:mixinTypes="[cq:LiveRelationship,cq:LiveSyncCancelled]"
jcr:primaryType="nt:unstructured"
sling:resourceType="wcm/msm/components/ghost"/>
</default>
I referred to the below articles to understand the reason behind such peculiar node structure. (Our problem is actually a mixture of issues described in below articles )
These articles explain that if we delete a component inside the Live copy , AEM creates a placeholder ghost component. The other blog post from aempodcast talks about clicking on the 'Target' option in the component (The component included as cq:include in the template) which wraps the component inside a mbox with the resourceType cq/personalization/components/target.
Could you please suggest a solution to get rid of such nodes and the actual reason behind such occurrences ?

