merkle-open / aem-generic-multifield

Generic Multifield component dialog extension for AEM
MIT License
15 stars 6 forks source link

Exclude "ghost" nodes of live copies from the dialog #39

Closed evgeny-konstantinov closed 8 months ago

evgeny-konstantinov commented 1 year ago

When a node is removed for a live copy it is not actually removed from JCR. It removes all the properties for this node and sets "sling:resourceType" property for it equal to "wcm/msm/components/ghost":

image

MSM ghost node is needed in author for re-enabling inheritance in future. https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/issue-with-wcm-msm-components-ghost/m-p/371261

The Generic Multifield widget shows those "ghost" nodes but they cannot be removed:

image

The solution is to exclude the nodes and not show them in the widget.

MichaelHeil commented 8 months ago

Thank you. Tackling change with MR: https://github.com/merkle-open/aem-generic-multifield/pull/40