Expand my Community achievements bar.

SOLVED

About "Page Subtree Activation Check" of OSGi setting item

Avatar

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

Avatar

Correct answer by
Employee Advisor

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

Avatar

Correct answer by
Employee Advisor

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

Avatar

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.