Components not getting removed after giving delete in authoring mode

Avatar

Avatar
Level 1
parthibanselvam
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
parthibanselvam
Level 1

Likes

0 likes

Total Posts

6 posts

Correct reply

0 solutions
View profile
parthibanselvam
Level 1

19-06-2021

I have a page created from an editable template. The editable template does not contain anything apart from an empty parsys.

 

During authoring this page, I have added several components to it. In this, I have a similar component used multiple times on the page.

 

However, one or two components among the list of similar components are not getting removed even after clicking the delete component button in authoring page.

 

This kind of issue is occurring intermittently/randomly across few pages in our project. I couldn't find any specific reason that is causing this issue. 

 

Appreciate ur help on this.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct reply

45 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Boost 5
Level 7
Ritesh_M
Level 7

Likes

179 likes

Total Posts

142 posts

Correct reply

45 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
Level 7

19-06-2021

Hi @parthibanselvam ,

 

Do you have any Sling Servlet (bind through resource type) with these components that you are not able to delete? If yes, then just check if you have configured sling servlet extension also in your servlet. because what happens if we just create a resource type servlet without giving extension then it will be invoked on all operations for that component (GET, DELETE, POST, etc).

 

In case of above holds true or false, check error logs, and browser network tab. You must see a non 200 response in network tab for the delete call and something should be logged in logs too.

 

 

Answers (2)

Answers (2)

Avatar

Avatar
Boost 250
MVP
Nikhil-Kumar
MVP

Likes

251 likes

Total Posts

262 posts

Correct reply

38 solutions
Top badges earned
Boost 250
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Boost 250
MVP
Nikhil-Kumar
MVP

Likes

251 likes

Total Posts

262 posts

Correct reply

38 solutions
Top badges earned
Boost 250
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile
Nikhil-Kumar
MVP

21-06-2021

@parthibanselvam  - As you are using Editable templates, so you might have authored in the component in structure page. Can you share the logs while deleting the components. For a workaround you can update the changes from crx/de to avoid any blocker.

Avatar

Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

119 likes

Total Posts

249 posts

Correct reply

38 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile

Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

119 likes

Total Posts

249 posts

Correct reply

38 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
Level 6

19-06-2021

Hi,

 

On deletion are there any console errors or unsuccessful network calls? 

Error logs can also indicate if something dependent is stopping the deletion. 

 

Also to be sure you can try to delete the component via component viewer on LHS of the authoring view.