Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Can't cancel inheritance for child nodes

Avatar

Avatar
Validate 10
Level 2
doeringa
Level 2

Likes

3 likes

Total Posts

54 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
doeringa
Level 2

Likes

3 likes

Total Posts

54 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
View profile
doeringa
Level 2

01-02-2017

Hi, 

We are using AEM 6.1 with SP2. 

When cancelling inheritance on a component, the child nodes are not being cancelled, which ends up overriding data during rollout.  According to the documentation - https://docs.adobe.com/docs/en/aem/6-1/develop/platform/custom-nodetypes.html#cq:LiveSyncCancelled - there is an additional boolean property called cq:isCancelledForChildren. Looking at the form that is posted to Sling when cancelling inheritance this form data is being sent: 

  1. msm:status/msm:isCancelled:
    true
  2. msm:status/msm:isCancelledForChildren:
    false

Where is this property being set/read from? How can we change that property?

When adding cq:isCancelledForChildren = true manually to the component jcr:content node and then rolling out, the changes are NOT being overwritten. But when re-enabling inheritance or cancelling this property is being removed. 

Any help with why this is happening and how we can avoid this, is greatly appreciated. 

Thanks, Alex

  1.  

Replies

Avatar

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

112 likes

Total Posts

394 posts

Correct Reply

64 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
Level 7

02-02-2017

Hi,

Have you seen the below thread?

http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

please check if you found the same issue.

- Prince

Avatar

Avatar
Boost 1
Level 1
davidm351
Level 1

Likes

2 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
davidm351
Level 1

Likes

2 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
davidm351
Level 1

31-10-2017

@Prince Shivhare, the link is broken

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

01-11-2017

So it works when you manually set the cq:isCancelledForChildren property? 

Avatar

Avatar
Validate 10
Level 3
vsharm
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Validate 10
Level 3
vsharm
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
vsharm
Level 3

20-06-2019

yes smacdonald2008, it works after manually breaking the inheritance of the parent component and then child components and then deleting the child components which sets the cq:isCancelledForChildren property, but why do we need to do this manual work? Shouldn't the canceling the inheritance from a parent should also automatically cancel the inheritance for the child nodes as well? Is this is a bug in the system or is there a reason for it?

Avatar

Avatar
Validate 10
Level 3
vsharm
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Validate 10
Level 3
vsharm
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

5 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
vsharm
Level 3

26-06-2019

Can someone provide the correct link for the above?