Details
Description
Steps to reproduce:
- Log in to backoffice.
- Go to Content / Content Types / Content.
- Edit content type 'Folder'.
- Add 'Taxonomy Entry Assignment' field type to field definition by drag and drop.
- Change 'Product categories' to 'Tags' for 'Taxonomy' field in taxonomy entry assignment field type.
- Save the 'Folder' CT.
- Go to Content / Content structure.
- Add new Folder CT.
- Delete created CT Folder by an option 'Delete' in Content-tree.
- Repeat steps 2 and 3.
- Delete taxonomy entry assignment field type from Folder CT.
- Save the Content.
Actual result:
See attached screenshots.
Cannot delete taxonomy field type from CT when CT based on this field type exist in the system.
Call to a member function getFieldTypeIdentifier() on null
Expected result:
Implemented validation and notification which prevent from deleting the content with field type which is still in use.