Skip to content

Dexterity should not allow the creation of multiple fields with the same short name #260

@haritomedia

Description

@haritomedia

When creating a dexterity type, it's possible to add multiple fields with the same short name.
I added a field called title (and there is already the default (required) Dublin Core title field.
This resulted in the creation of broken content items: I filled in a value for the first title field, and left the second field blank. The submitted form is valid because the required field has a value, but the created item was broken because the value set on the item was taken from the second (blank) title field.

Dexterity should not allow the creation of multiple fields with the same short name, as the last field value wins.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions