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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

About "Page Subtree Activation Check" of OSGi setting item

www0532
Level 1
Level 1

Hi Team,Can anyone please advice how can we check the operation of the setting values for the following OSGi Config?
Day CQ WCM Page Manager Factory
⇒ Page Subtree Activation Check

1 Accepted Solution
Vish_dhaliwal
Correct answer by
Employee
Employee

Hello,

 

"Page Subtree Activation Check" was introduced to control the behaviour of page deletion.
This option needs to be enabled if the subtree of the page under consideration is to be checked for any activated descendants before performing page operation such as delete. By default, this option disabled.

 

For page deletion, if this option is disabled, then, since we cannot know the activation status of the descendants of the page, therefore, the page cannot be deleted directly because of the risk of deleting any activated descendant also. On the other hand, on enabling this option, the descendants of the page will also be checked for their activation status. And, if it is found that no page in the entire subtree is activated, then the given page will be deleted since direct deletion would be safe now.

I hope this will help in testing the behaviour.

Regards,

Vishu

View solution in original post

3 Replies
Vish_dhaliwal
Correct answer by
Employee
Employee

Hello,

 

"Page Subtree Activation Check" was introduced to control the behaviour of page deletion.
This option needs to be enabled if the subtree of the page under consideration is to be checked for any activated descendants before performing page operation such as delete. By default, this option disabled.

 

For page deletion, if this option is disabled, then, since we cannot know the activation status of the descendants of the page, therefore, the page cannot be deleted directly because of the risk of deleting any activated descendant also. On the other hand, on enabling this option, the descendants of the page will also be checked for their activation status. And, if it is found that no page in the entire subtree is activated, then the given page will be deleted since direct deletion would be safe now.

I hope this will help in testing the behaviour.

Regards,

Vishu

View solution in original post

www0532
Level 1
Level 1

@Vish_dhaliwal Hi, Vishu

Thank you for your prompt response.
Does deleting a page here mean pressing the delete button from the site screen? Or is it to delete the page by executing the workflow?
Also, if this option is enabled, the descendants of the activated page will be checked. At that point, is there any dialog that says the page cannot be deleted?
Sorry to trouble you, but thank you.