Custom carousel component is not deleting items when deleting via dialog | Community
Skip to main content
Level 3
July 13, 2023
Solved

Custom carousel component is not deleting items when deleting via dialog

  • July 13, 2023
  • 3 replies
  • 1012 views

Hi again,

Just got a query.
I have a custom carousel component in which I used the core carousel as a resourceSuperType (core/wcm/components/carousel/v1/carousel).
I run into an issue in which when I tried to author the custom carousel by adding a custom component, when I tried to delete it via Custom Carousel's dialog, it can't be deleted and it would rearranged the items inside the carousel. Items can be deleted when I navigate to content tree, selecting the carousel item and deleting it from there.

In what way I can debug this issue as the logs don't show any errors when deleting an item and I can't replicate it on my local. Only on the higher environments.

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

Try this in order to debug:

- Locally, deploy the same code version in the environment where the issue is present

- Locally, use the same content where the issue is reproducible (at least page)

- Try to reproduce the issue using the ootb carousel component (to discard it is not an ootb issue), in both your local and higher environment

- Check if there are any javascript issues by inspecting the browser console, this should give you a clue of what's going on.

3 replies

Sady_Rifat
Community Advisor
Community Advisor
July 13, 2023

Hello @lyonmartin ,

Please give us more insight about that. I assumed you don't have any JS or Java errors. Please confirm.

And have you overwrite the dialog property? If so please run make sure you properly maintain the dialog structure.

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
July 13, 2023

Try this in order to debug:

- Locally, deploy the same code version in the environment where the issue is present

- Locally, use the same content where the issue is reproducible (at least page)

- Try to reproduce the issue using the ootb carousel component (to discard it is not an ootb issue), in both your local and higher environment

- Check if there are any javascript issues by inspecting the browser console, this should give you a clue of what's going on.

Esteban Bustamante
November 2, 2023

The same happens to me. I tried if OOTB carousel and seem to have the same problem. Did you find a way to fix it? Or confirmed it's an AEM bug expected to be officially solved by Adobe?