Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When a Child Page is Deleted the Parent Page still has the HasChildren Property set to true #2941

Closed
vnetonline opened this issue Jun 28, 2023 · 1 comment

Comments

@vnetonline
Copy link
Contributor

vnetonline commented Jun 28, 2023

  1. login as host
  2. Add a Child Page called Test to Home
  3. Delete the Test page and check the HasChildren property of the Home you will see it is still ``true
  4. Go to Home The navigation menu will not have the Test page visible but the property `HasChildern1 will be true

image

image

@sbwalker
Copy link
Member

sbwalker commented Jun 28, 2023

this is happening because the Page is soft deleted and the recursive logic on the server which orders the list of pages in hierarchical order is not checking the IsDeleted flag

sbwalker added a commit that referenced this issue Jun 28, 2023
fix #2941 - HasChildren property not considering deleted pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants