Skip to content

UUID for new page is the same as the latest page UUID #7405

@maxhoffmann

Description

@maxhoffmann

Description

After upgrading from version 4.8.0 to version 5.0.2, creating a new page with these create dialog settings throws an error, that the page with this slug already exists:

create:
  title: "{{ page.uuid.id }}"
  slug: "{{ page.uuid.id }}"

I’ve checked the file inside the __new__ folder and can confirm that it includes the same UUID as the page created before.

Expected behavior

The newly created page should have a newly generated UUID as it used to in version 4.

To reproduce

  1. Create a blueprint with these settings:
create:
  title: "{{ page.uuid.id }}"
  slug: "{{ page.uuid.id }}"
  1. Click on 'Create a new page' in the panel
  2. When creating a second page, the error is displayed

Your setup

Kirby Version: 5.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions