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 a section is deleted, but is not enabled on the primary site, its associated records aren't wholly cleaned up from the database. I've investigated the issue somewhat myself in my own testing, but there may be more cases out there I'm not seeing thus far, and any proposed changes of mine might have consequences outside of this particular issue.
This also ended up being the case when deleting entry types. And it could have even affected sections that are enabled for the primary site, if the “Propagate entries across all enabled sites?” setting was disabled.
Description
When a section is deleted, but is not enabled on the primary site, its associated records aren't wholly cleaned up from the database. I've investigated the issue somewhat myself in my own testing, but there may be more cases out there I'm not seeing thus far, and any proposed changes of mine might have consequences outside of this particular issue.
I've written commit comments notes on a branch here:
https://github.com/sbossarte/cms/commits/fix-element-cleanup
Steps to reproduce
An example test case
Additional info
The text was updated successfully, but these errors were encountered: