Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Dragged components are not getting deleted inside one component | AEM 6.4.5

Avatar

Level 4

Dragged components are not getting deleted inside expanded-image-card component | AEM 6.4.5

Attached console  error on clicking on delete

 

shikhasoni1_0-1652511240057.png

 

And network tab has no response for 

Request URL:
shikhasoni1_1-1652511240809.png

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

There was a problem in the way nodes are created through HTML.

 

Issue is resolved now.

View solution in original post

6 Replies

Avatar

Community Advisor

@shikhasoni1  Is this expanded-image-card custom component? 

 

If yes please go through your custom JS code or check your client js dependecies

Avatar

Correct answer by
Level 4

There was a problem in the way nodes are created through HTML.

 

Issue is resolved now.

Avatar

Employee Advisor

Are you trying to convert a string into a JSON Object in your custom js? If yes, then please check whether you are trying to convert empty string to JSON object. 

 

Please debug your custom client library and also refer https://www.stechies.com/uncaught-syntaxerror-unexpected-end-json-input/ to debug.

 

 

Avatar

Level 4

There was a problem in the way nodes are created through HTML.

 

Issue is resolved now.

 

 

Avatar

Community Advisor

@shikhasoni1 seems issue is resolved but just wanted to mentioned.

This kind of issues happend when you have unclosed divs or html tags.

You can also delete component from content tree.



Arun Patidar