Skip to content

Fields saving twice #5

@thekanbo

Description

@thekanbo

What is the issue?

When creating a new field in a field section (on a matrix page, for example), a field can be saved twice, which will cause a 500 error because of the non-unique field name.

What are the steps to reproduce this issue?

  1. Create a new matrix as a page
  2. Create a new field of any type
  3. Save the changes, but do not navigate away
  4. Save the changes again; the console will display a 500 error.

What were you expecting to happen?

The interface should force all fields belonging to the same collection to be unique. The API should also return a validation error or automatically make the handle/name of the field unique.

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions