Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Annotation nodes in pages are not getting deleted

Avatar

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

Avatar

Community Advisor

Hi,

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



Arun Patidar

Avatar

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.