[ContentPolicyMappingImpl] Unable to find a content policy resource for Resource | Community
Skip to main content
Level 2
August 15, 2024
Solved

[ContentPolicyMappingImpl] Unable to find a content policy resource for Resource

  • August 15, 2024
  • 2 replies
  • 1408 views

Hey guys, I'm having a problem with one of my pages in my cloud prod environment, it takes forever to load and after a while it answers with the following message:

The ERROR messages I got repeated times in the logs was the one down bellow:

*ERROR* [179.60.168.49 [1723662768094] GET /content/project/language-master/en-us/sample-page.html HTTP/1.1] com.day.cq.wcm.core.impl.policies.ContentPolicyMappingImpl Unable to find a content policy Resource for Resource /conf/project/settings/wcm/templates/project-generic/policies/jcr:content/root/responsivegrid_329478474 under path wcm/foundation/components/responsivegrid/policy_1568743433891

Did anybody ever faced this issue? Does anybody know how could I correct it, or prevent it?

 

Best Regards

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

Hi @sn-aquilavasconcelos ,

Error suggest required policies for template project-generic is missing.

Navigate to  /conf/project/settings/wcm/templates/project-generic/policies/jcr:content/root/responsivegrid_329478474

i.e. to your project-generic template

You may find wcm/foundation/components/responsivegrid/policy_1568743433891 as value of cq:policy property

Check this policy inside policies node if this is present in lower environment and relevant, then commit to higher env(prod)

 

Thanks

2 replies

Level 2
August 16, 2024

@heenamadan Would you be able to help me with this one as well? Thanks in advance.

MukeshYadav_
Community Advisor
MukeshYadav_Community AdvisorAccepted solution
Community Advisor
August 17, 2024

Hi @sn-aquilavasconcelos ,

Error suggest required policies for template project-generic is missing.

Navigate to  /conf/project/settings/wcm/templates/project-generic/policies/jcr:content/root/responsivegrid_329478474

i.e. to your project-generic template

You may find wcm/foundation/components/responsivegrid/policy_1568743433891 as value of cq:policy property

Check this policy inside policies node if this is present in lower environment and relevant, then commit to higher env(prod)

 

Thanks