Affects Version/s: 7.0.X, 7.1.X, Master
Fix Version/s: None
Component/s: Dynamic Data Lists
- Create a new site and notice the Site ID in Site Settings.
- For the new site, go to Content > Dynamic Data Lists > 3-dot menu > Manage Data Definitions and add a new Data Definition.
- Perform the following query in the database (using the value of the Site ID noticed in the first step):
Observed: There is one entry corresponding to the Data Definition just created.
- Delete the site.
- Perform the same sql query as before.
Expected: The ddm structure is no longer in the result set of the query.
Observed: The ddm structure is still in the result set for the query.
Note: If direct access to the database is not possible, you can use the attached Groovy script making sure to use the appropriate value for the Site ID.