sling:resourceType of a Policy is getting changed once we save the policy from component level | Community
Skip to main content
January 8, 2025

sling:resourceType of a Policy is getting changed once we save the policy from component level

  • January 8, 2025
  • 2 replies
  • 591 views

Hi,
I have policy for a specific component and sling:resourceType of the policy is wcm/core/components/policy/policy. But once i make any changes from policy level in touch ui or save the policy without any changes , the sling:resourceType of the policy is getting changed to that component's sling:resourceType(apps/project/components/specificcomponent).

This issue is only happening one of the environment not for all the environments. I am using AEM 6.5 on-prem. Can someone suggest something here?

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

2 replies

arunpatidar
Community Advisor
Community Advisor
January 8, 2025

Hi @shyamalimaac 

Is this happening when you updating policy from specific template or all the templates?

 

Arun Patidar
January 10, 2025

Hi @arunpatidar ,
This is happening for all the templates. 

arunpatidar
Community Advisor
Community Advisor
January 10, 2025

Hi @shyamalimaac 

This is strange, can you compare the /conf/myproj/oneweb/settings/wcm with different environment?

 

Arun Patidar
kautuk_sahni
Community Manager
Community Manager
January 27, 2025

@shyamalimaac Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni