Adding a new element to an item type fails with the message that the element already exists, although it is not in the list of elements for this particular item type, and it doesn’t exist in any other item type or in Dublin Core, not even extended.
Omeka Version is Omeka Classic 2.5
The message reads:
Name: An element named “myElement” already exists for the “Item Type Metadata” element set.
How to reproduce:
- Add a new element to an item type with the name myElement
- Save Changes
- Delete the element myElement
- Save changes
- Add a new element to an item type with the name myElement
- Save changes fails with the message that the element myElement already exists.
Why is this a problem?
I needed to implement a model in Omeka with idiosyncratic elements and their descriptions. After inserting the new element myElement and the description, I realized that there was a bad typo in the description. Since it is not possible to edit element names or element descriptions for item types, I deleted the element in order to make it again – which failed in the above way.
Workaround: Implement the element with a slightly different name. Working solo and small - no problem, but when I need to implement a list of well discussed features, I can’t just rename an element.
How can I find the ghost of that old myElement and delete it in a way so I can then just redo it?