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

When deleting an asset library, its ResourcePermission records are not deleted

Details

    Description

      When deleting an asset library, there are some database wrong references, its ResourcePermission records are not deleted

      Steps to reproduce

      1. Create an asset library
      2. Execute the SQL:
        select * from DepotEntry

        to get the DepotEntryId of the created asset library

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

        ==> this query should return some records

      4. Delete the previously created asset library
      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

            beck.liu Beck Liu
            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, 22 weeks, 1 day ago

              Packages

                Version Package
                7.3.X
                7.4.3.7 CE GA7
                7.4.13 DXP U3
                Master