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

When deleting a redirection, its ResourcePermission records are not deleted

Details

    Description

      When deleting a redirection, there are some database wrong references, its ResourcePermission records are not deleted

      Steps to reproduce

      1. Go to Site => Configuration => Redirection
      2. Create a new Redirect
      3. Execute the SQL:
        select * from RedirectEntry

        to get the RedirectEntryd of the created redirect

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

        ==> this query should return some records

      5. Delete the previously created Redirect
      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

            yvonne.han Yvonne Han
            jorge.diaz Jorge Diaz
            Austin Chiang Austin Chiang
            Jorge Diaz Jorge Diaz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

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

              Packages

                Version Package
                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