Experience / Content Management
Enhanced CMS: deleting a published translation via UI leaves content accessible via api and Delivery fails with 'duplicate element' after recreate.
Summary
Deleting a published ManagedContentVariant translation via the standard Enhanced CMS UI(without unpublishing it) left a ghost variant that continued to be delivered. After the language was removed and later recreated, Delivery API responses broke due to the orphaned variant reference.
Workaround
The workaround is to restore the soft-deleted translation from the Recycle Bin (after unpublishing and deleting any recreated same-language variant), unpublish the restored variant so its LIVE MCCS is cleared, then delete it while unpublished. Recreate and publish the translation afterward. This only works if the original variant is still in the Recycle Bin; emptying the bin removes this option. Unpublish/republish of the parent content alone is not sufficient.
If the above workaround doesn't work, customers are suggested to replace the content with newly created content and replace it in their site.
Steps to reproduce
- Login to the org as an admin user.
- Open an Enhanced CMS workspace with primary en_US and supported language de(or any other language), linked to an Enhanced LWR site.
- Create a content item in en_US, publish it, add a de translation, and publish the translation.
- Confirm Delivery returns 200 for the content key with language=de. I've used this in my demo org - /services/data/v68.0/connect/cms/delivery/channels/<channelId>/contents/<contentId>?language=de
- On the published de ManagedContentVariant record page, use the standard Delete action and confirm(do not unpublish it).
- Query ManagedContentVariant for that content with ALL ROWS and observe IsDeleted = true and IsPublished = true on the deleted de row; also observe a LIVE ManagedContentChannelStatus row with VariantKey = s-de.
- Call Delivery endpoint again for language=de and observe that the deleted translation is still returned (200).
- Add a new de translation on the same content item and publish it.
Call Delivery for language=de and language=en_US. Observe that both fail with 400 INVALID_API_INPUT / duplicate element: s-de.
History
Description updated
Nov 30, 2026
First tracked here as In Review with 3 reports
Nov 30, 2026