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.
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 Coretitlefield.This resulted in the creation of broken content items: I filled in a value for the first
titlefield, 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.