Skip to content

It's possible to create template parts with duplicate names #42473

@jameskoster

Description

@jameskoster

Description

When creating a template part, either manually or via one of the automatic flows like inserting a header pattern, it's possible for duplicate names to be used.

Step-by-step reproduction instructions

  1. Create a template part and give it a name
  2. Create another template part and give it the same name

Screenshots, screen recording, code snippet

Screenshot 2022-07-15 at 15 01 20

Metadata

Metadata

Assignees

Labels

Needs DevReady for, and needs developer efforts[Block] Template PartAffects the Template Parts Block

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions