Annotation nodes in pages are not getting deleted | Community
Skip to main content
Level 2
March 8, 2021
Question

Annotation nodes in pages are not getting deleted

  • March 8, 2021
  • 1 reply
  • 923 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

arunpatidar
Community Advisor
Community Advisor
March 8, 2021

Hi,

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

Arun Patidar
Level 2
March 9, 2021
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.