Open
Description
Description
The temporary page with slug __new__
will not be deleted after the actual page has been created. As this temporary file contains a page UUID, this will be reused when creating another page, leading to duplicate UUIDs.
In my case, I want to use the uuid as the slug (as I don't care about the slug at all in this particular care). This is why it crashes right in the page creation dialog, because there already is a page with the same slug. I would expect the temporary __new__
page to be deleted in this case, too.
Expected behavior
I can create multiple pages one after another without any issue.
To reproduce
- Have the following create option for a page:
create:
title:
label: Veranstaltungstitel
slug: "{{ page.uuid }}"
- Create a new page with any title
- Create another page with any title
Your setup
Kirby 4.6.1
PHP 8.4
MacOS 15.3.1
Metadata
Metadata
Assignees
Labels
No labels