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

When deleting a navigation menu, its ResourcePermission records are not deleted

Details

    Description

      When deleting a navigation menu, there are some database wrong references

      Steps to reproduce

      1. Create a navigation menu
      2. Execute the SQL:
        select * from SiteNavigationMenu

        to get the SiteNavigationMenuId of the created navigation menu

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

        ==> this query should return some records

      4. Delete the previously created navigation menu
      5. 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

            oziel.souza Oziel Souza (Inactive)
            jorge.diaz Jorge Diaz
            Kiyoshi Lee Kiyoshi Lee
            Jorge Diaz Jorge Diaz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 38 weeks, 1 day ago

              Packages

                Version Package
                7.1.10 DXP FP26
                7.1.10.7 SP7
                7.1.X
                7.2.10 DXP FP15
                7.2.X
                7.3.10.3 DXP SP3
                7.3.X
                7.4.13 DXP GA1
                7.4.3.4 CE GA4
                Master