Experience Fragment Master Node Deleted on Republish Using Manage Publication option
I’m working in AEM as a Cloud Service (AEMaaCS).
I'm encountering an unexpected issue when publishing the XF parent folder multiple times.
1. First Publish
- I create a new Experience Fragment.
- I select the parent folder and trigger publishing using my custom workflow.
- Result:
✔️ Both the parent folder and the master XF node are published correctly.
2. Second Publish
- I again select only the parent node and publish using the same workflow.
- Result:
⚠️ Only the parent folder is published.
❌ The master XF node is deleted on the publish instance.

Note: demo folder is created using program as a nt:folder, not the sling:Folder