Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-144733

When deleting a site, the ResourcePermission records of its navigation menus are not deleted

    Details

      Description

      When deleting a site, there are some database wrong references, the ResourcePermission records of its navigation menus are not deleted

      Steps to reproduce

      1. Create a site
      2. Add a navigation menu to the new site
      3. Execute the SQL:
        select * from SiteNavigationMenu

        to get the SiteNavigationMenuId of the created navigation menu

      4. Execute this SQL:
        select * from ResourcePermission where primKeyId = <SiteNavigationMenuId>

        ==> this query should return some records

      5. Delete the previously created site
      6. Execute again the SQL of step number 3:
        • Expected behavior: the query doesn't return any record
        • Wrong behavior: the query returns some records

        Attachments

          Activity

            People

            Assignee:
            chao.wang Chao Wang
            Reporter:
            jorge.diaz Jorge Diaz
            Participants of an Issue:
            Recent user:
            Rafaela Nascimento
            Engineering Assignee:
            Jorge Diaz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              18 weeks, 3 days ago

                Packages

                Version Package
                7.1.X
                7.2.10 DXP FP17
                7.2.10.6 DXP SP6
                7.2.X
                7.3.X
                7.4.3.7 CE GA7
                7.4.13 DXP U3
                7.4.3.8 CE GA8
                7.4.13 DXP U4
                Master