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



      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


          Issue Links



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


                • Created:
                  Days since last comment:
                  4 years, 25 weeks, 5 days ago


                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE