adobe / aem-core-wcm-components

Standardized components to build websites with AEM.
https://docs.adobe.com/content/help/en/experience-manager-core-components/using/introduction.html
Apache License 2.0
723 stars 737 forks source link

[Carousel Component] Ghost image item is not deleted once inheritance is canceled on a live copy page #2784

Open sangram2019 opened 2 weeks ago

sangram2019 commented 2 weeks ago

When you cancel inheritance on a live copy page with a Carousel component, then edit the Carousel to remove one image item, it creates a ghost item. This ghost item is visible on the live page as an empty item. When we tried to delete ghost item, it is not getting deleted.

Steps to reproduce issue:

  1. Open a live copy page with the Carousel Component configured.
  2. Cancel inheritance on Carousel component.
  3. Delete a image item in the Carousel component and Click Done.
  4. Open Carousel component, you'll see a ghost item added.
  5. Open page in "View as published" mode.
  6. Empty item is showing in Carousel component.
  7. Try to remove ghost item from Carousel dialog.
  8. It is not getting removed.

Expected behavior: Ghost item should be optional or permanently deleted in the scenario where inheritance was canceled. It should not visible on published page or in "View as published mode".

Environment: AEM 6.5.19 Core Components version: core.wcm.components.content-2.17.12