Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

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

Avatar

Level 1

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?

4 Replies

Avatar

Community Advisor

Hi @ShyamalimaAc 

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

 

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 1

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

Avatar

Community Advisor

Hi @ShyamalimaAc 

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

 

Arun Patidar

AEM LinksLinkedIn

Avatar

Administrator

@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