Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Avatar

Level 3

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 3

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

 

Issue is resolved now.

View solution in original post

6 Replies

Avatar

Level 2

@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 3

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

 

Issue is resolved now.

Avatar

Community 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 3

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.