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

Deleted Documents from Document Library are not removed from Amazon S3 after upgrade

    Details

    • Fix Priority:
      4

      Description

      Reproduced on:
      MySQL 5.7
      ee-6.2.10.15 > ee-7.0.x GIT ID: d06d22b1d05e52366ce9819a1fdee919c5b385dd.

      Steps to Reproduce:

      1. Start ee 6.2 portal on MySQL 5.5 with S3 properties:
        dl.store.impl=com.liferay.portlet.documentlibrary.store.S3Store
        dl.store.s3.access.key=
        dl.store.s3.secret.key=
        dl.store.s3.bucket.name=
        
      2. Go to Liferay > Content > Documents and Media
      3. Add two documents to Document Library
      4. Shut down 6.2 portal
      5. Dump database
      6. Import database into MySQL 5.7
      7. Upgrade database with upgrade tool in 7.0-bundle/tools/portal-tools-db-upgrade-client
      8. Start portal 7.0 DXP on upgraded database and portal property:
        dl.store.impl=com.liferay.portal.store.s3.S3Store
        
      9. Go to System Settings > Foundation > S3 Store Configuration
      10. Configure connection properties
      11. Go to Liferay > Content > Documents and Media
      12. Add new document
      13. Go to S3 Management Console in web browser
      14. Assert 2 old documents and 1 new document is present
      15. Delete one of the documents added in 6.2
      16. Go to Recycle Bin > Emptry Recycle Bin
      17. Refresh and view S3 Management Console

      Expected Result:
      Document is removed from both Portal and S3.

      Actual Result:
      Document is not removed from S3.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.1 CE GA2