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

            Assignee:
            beck.liu Beck Liu
            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:
              20 weeks, 5 days ago

                Packages

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