Skip to content

[bug] Cannot duplicate a page that has already been duplicated #1770

Open
@spartan-uyen

Description

@spartan-uyen

Summary: When attempting to duplicate a page that was previously duplicated (e.g., test001-copy), the system throws an error instead of creating a new duplicate.

Steps to Reproduce:

  1. Create or select a page named test001.
  2. Duplicate it → a new page test001-copy is created.
  3. Try duplicating test001-copy.

Actual Result:
An error is shown, and the page is not duplicated.
https://github.com/user-attachments/assets/1b993d5b-e37c-40f7-b9d9-74262a197bde

Expected Result:
A new page should be created with a name like test001-copy-copy or similar without any error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions