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

DLFileEntryLocalServiceUtil.deleteRepositoryFileEntries leaks DLFileEntry in DB

    Details

      Description

      This only affects 6.2.x as master implemented it using ActionableDynamicQuery

      Steps:
      1-Upload more than 100 files in document library in root folder.
      2-Get the groupId of the site
      3-Execute attached groovy script, changing groupId to the test site groupId.
      4-Make a SQL query in DB, changing the groupId by the test site groupId:

      SELECT COUNT(*) FROM DLFileEntry where groupId=<groupID>;
      

      Expected result
      The SQL should return 0
      Actual result
      The SQL returns Total uploaded files - 100

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              juan.gonzalez Juan Gonzalez (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 19 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE