Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.1.X, 7.2.X, 7.3.X, Master
-
7.3.x, 7.2.x, 7.1.x
-
Committed
-
2
Description
When deleting a site, there are some database wrong references, the ResourcePermission records of its navigation menus are not deleted
Steps to reproduce
- Create a site
- Add a navigation menu to the new site
- Execute the SQL:
select * from SiteNavigationMenu
to get the SiteNavigationMenuId of the created navigation menu
- Execute this SQL:
select * from ResourcePermission where primKeyId = <SiteNavigationMenuId>
==> this query should return some records
- Delete the previously created site
- Execute again the SQL of step number 3:
- Expected behavior: the query doesn't return any record
- Wrong behavior: the query returns some records
- Expected behavior: the query doesn't return any record