You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deleting a Matrix (or SuperTable) field, the inner fields are not deleted properly and leave traces of themselve in the project file and database.
I have tested this using a clean installation on the latest version of Craft.
Steps to reproduce
Create a matrix field (or supertable field) with a plain text field.
Collect the text fields UID from the project file. (project.yaml -> meta -> __names__)
Delete the field matrix field in Craft.
Search the project file and the database for the UID.
Find traces of the text field in the project files and in the database.
Expected behavior
All fields have to be deleted properly
Extra test results when deleting fields
Type
Removed in project.yaml
Removed in DB
Plain Text
Yes
Yes
Matrix
Yes
Yes
Matrix Block
Yes
Yes
Matrix Block Field (Plain Text)
No
No
SuperTable
Yes
Yes
SuperTable Field (Plain Text)
No
No
Craft CMS version
4.4.14
PHP version
8.0
Operating system and version
DDEV project type: craftcms
Database type and version
Mysql 5.7
Image driver and version
No response
Installed plugins and versions
Super Table: 3.0.9
The text was updated successfully, but these errors were encountered:
Craft 4.4.17 is out with a fix that ensures nested deleted component names are removed from the meta.__names__ map immediately, as well as an improvement to the project-config/rebuild command to ensure the whole meta.__names__ map is rebuilt.
What happened?
Description
When deleting a Matrix (or SuperTable) field, the inner fields are not deleted properly and leave traces of themselve in the project file and database.
I have tested this using a clean installation on the latest version of Craft.
Steps to reproduce
project.yaml
->meta
->__names__
)Expected behavior
All fields have to be deleted properly
Extra test results when deleting fields
Craft CMS version
4.4.14
PHP version
8.0
Operating system and version
DDEV project type:
craftcms
Database type and version
Mysql 5.7
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: