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

Annotation nodes in pages are not getting deleted

rangavinod
Level 2
Level 2

When we add a annotation in the page and delete the annotation, the cq:annotations nodes are getting empty but the node is not getting deleted.

Because of empty cq:annotations nodes we are getting below errors in logs. Please suggest.

 

08.03.2021 14:11:57.066 *ERROR* [0:0:0:0:0:0:0:1 [1615192916863] GET /content/abcd/xyzr/en/contact-us.html HTTP/1.1] org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource JcrNodeResource, type=nt:unstructured, superType=null, path=/content/abcd/xyzr/en/contact-us/jcr:content/root/grid/form_container/section1/cq:annotations

2 Replies
Arun_Patidar
Community Advisor
Community Advisor

Hi,

This could be a product bug, I would suggest a cleanup using groovy or using any other script

rangavinod
Level 2
Level 2
New Observation: It looks like a product bug. This error is throwing up even when annotations are present but error is throwing only when annotation is added for specific type of resource type node (wcm/foundation/components/responsivegrid). Error is observed even in we-retail pages without any custom code.