Skip to content

Strange behavior when deleting pages with children #7615

@texnixe

Description

@texnixe

Description

When deleting a parent page with children, in some situations the page is not deleted, but the page content file renamed to default.txt, while the previously default numbered children are all prepended with 1_.

Expected behavior
Page should be deleted

Screenshots

To reproduce

  1. In a 5.1.2 Starterkit, open the Panel
  2. From the Dashboard, open the Photography page, then from the Settings menu, select Delete
  3. Enter the page title and confirm with the Delete button
  4. You are redirected to the Dashboard, but you will see that the page is still there.
  5. Inspect the filesystem to the effects described above.
  6. Note that if you delete the Notes page afterwards, this does not happen. Also, when you delete the Photography page again now, it will be gone.

Your setup

Kirby Version
Fresh 5.1.2 Starterkit on MacOS with Herd as local dev server

Console output

Your system (please complete the following information)

  • Device:
  • OS:
  • Browser:
  • Version:

Additional context

See also: https://forum.getkirby.com/t/publish-pages-in-batch/34785/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions