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

DLFolderLocalServiceImpl.deleteAllByGroup fails if subfolders exist

    Details

      Description

      Steps to Reproduce

      1. Add a folder and a subfolder
      2. Execute the following Groovy script (replacing the groupId to correspond with the added folders)

      import com.liferay.document.library.kernel.service.DLFolderLocalServiceUtil;
      
      long groupId = 20124;
      
      DLFolderLocalServiceUtil.deleteAllByGroup(groupId);
      

      Expected Results
      Both folders are deleted

      Actual Results
      No folders are deleted and a "No Folder exists with the key" error message is produced

        Attachments

          Activity

            People

            • Assignee:
              jeremy.chen Jeremy Chen
              Reporter:
              jonathan.mccann Jonathan McCann
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Jonathan McCann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                12 weeks ago

                Packages

                Version Package
                7.2.10 DXP FP5
                7.2.10.2 DXP SP2
                7.2.X
                7.3.1 CE GA2
                7.3.2 CE GA3
                Master