Skip to content

Subpage ID not deleted when page is deleted #2588

Description

@philiprenich

Describe the bug
In the API, if I have a page that has a subpage, for the parent page, subpageOrder contains that child page's ID. When deleting (permanently) the subpage, it's ID still shows in subpageOrder on the parent.

To Reproduce
Steps to reproduce the behavior:

  1. Create a page
  2. Create a subpage of the first
  3. Verify its ID shows up in the API under subpageOrder
  4. delete the subpage
  5. go to trash and permanently delete it
  6. Check API and see the ID still there.

Expected behavior
subpageOrder should be cleaned up when pages are deleted

Screenshots
If applicable, add screenshots to help explain your problem.

Server details:

  • Collectives app version: 4.4.2
  • Nextcloud version: 33.0.5
  • PHP Version: managed by AIO
  • Database: managed by AIO

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions