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

DLFileEntries/DLFolders are not restored from recycle bin if you import a DLFileEntry/DLFolder from LAR file and a object with matching UUID at recycle bin is found

    Details

      Description

      Steps to reproduce

      1. Create a new site
      2. Create a document into Document Library, called Document1
      3. Create a folder into Document Library, called Folder1
      4. Export site to a LAR file
      5. Rename document to Document2 and folder to Folder2 names
      6. Move created document and folder to recycle bin
      7. Import LAR file to site with old names (Document1 and Folder1)
        • Wrong behavior: Deleted document and folder at recycle bin is not restored, but imported info is updated into recycle bin entry with old names
        • Expected behavior: Deleted document and folder to recycle bin is restored and displayed at Document Library with old names

      After some investigations, seems other stageable objects (webcontents, blogs, etc...) are restored before LAR import at BaseStagedModelDataHandler.restoreStagedModel that calls doRestoreStagedModel implemented at StagingDataHandler.

      For some reason, it does not work for DLFileEntry and DLFolder

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lu.liu Lu Liu
                Reporter:
                jorge.diaz Jorge Diaz
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 6 weeks ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE