Upon suspending Inheritance for a component mixinType does not update on child nodes of the component | Community
Skip to main content
Level 2
October 27, 2023

Upon suspending Inheritance for a component mixinType does not update on child nodes of the component

  • October 27, 2023
  • 1 reply
  • 691 views

Upon suspending Inheritance for a component mixinType does not update on child nodes of the component. When I suspend the inheritance the component node does start reflecting the updated mixinType "cq:LiveRelationship, cq:LiveSyncCancelled" and a property cq:isCancelledForChildren {true} is added but the child nodes of the component continue to show mixinType as "cq:LiveRelationship". Is there any configuration which helps update the child nodes with the same properties as parent node once we suspend the inheritance. 

 

 

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

1 reply

arunpatidar
Community Advisor
Community Advisor
October 27, 2023

Hi @suratwaa1 
Since it is a container component(maked by cq:isCancelledForChildren {true}), it will behave like this, if you want to consider this as normal/singular component where if you break the parent inheritance and it will break the children inheritance then you mark cq:isCancelledForChildren {false}

More details are at : https://aemlab.blogspot.com/2021/11/cqiscontainer-property-in-aem.html 

 

Arun Patidar
suratwaa1Author
Level 2
October 30, 2023

Hi @arunpatidar thanks for the reply. Actually this is a multifield component (resourceType: granite/ui/components/coral/foundation/form/multifield). This issue is happening for all the child nodes created as part of the multifield items inside the component. I could find out there was a similar issue long time back posted in the league which is similar to mine but it has no solution: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/quot-jcr-mixintypes-quot-property-getting-removed-from-child/td-p/324622

I have tried adding cq:isCancelledForChildren {false} from crx directly after breaking inheritance but i see that the cq:LiveRelationship mixinType still gets deleted once i try to save anything inside the component on live copy, due to which upon re-enabling the inheritance due to this missing cq:LiveRelationship mixinType the properties which are part of the mutifield do not get inherited from MB. Is there a way to add cq:isCancelledForChildren{false} from a configuration? 
 
Thanks,
Aditya

arunpatidar
Community Advisor
Community Advisor
October 30, 2023

Could you please open a ticket with Adobe?

Arun Patidar