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

Files in the Recycle bin become orphaned when their parent folder has been deleted and the site is deleted

Details

    Description

      Files in the Recycle bin become orphaned when their parent folder has been deleted and the site is deleted.

      Steps

      1. Control Panel > Sites > Sites
      2. Create a Site "Test Site"
      3. Go to "Test Site" > Content > Documents and Media
      4. Create a folder "test folder"
      5. Create a file "test file" inside "test folder"
      6. Query the database and remember the fileEntryId
        select * from DLFileEntry
      7. Delete "test file" putting it into the recycle bin
      8. Delete "test folder" putting it into the recycle bin
      9. Navigate to the recycle bin and permanently delete "test folder"
      10. Control Panel > Sites > Sites
      11. Delete "Test Site"

      Expected
      All the file entries from "Test Site" will be deleted from the database.
      Actual
      The file "test file" is orphaned and is still in the database.

      Attachments

        1. 73684.png
          73684.png
          52 kB
        2. fixed.png
          fixed.png
          59 kB

        Issue Links

          Activity

            People

              hong.zhao Hong Zhao (Inactive)
              preston.crary Preston Crary (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 22 weeks, 5 days ago

                Packages

                  Version Package
                  7.1.X
                  Master