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

Deleted documents from DM are not removed from Amazon S3 store

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.0.X
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Steps to Reproduce:

      1. Set dl.store.impl=com.liferay.portal.store.s3.S3Store in portal-ext.properties.
      2. In /osgi/configs, add config file com.liferay.portal.store.s3.configuration.S3StoreConfiguration.config with following properties and replace the bucket name, access key and secret key with valid values:
        cacheDirCleanUpExpunge="7"
        ntlmProxyDomain=""
        secretKey="secretKey"
        proxyAuthType="none"
        httpClientMaxConnections="50"
        httpClientMaxErrorRetry="5"
        accessKey="acessKey"
        cacheDirCleanUpFrequency="100"
        connectionTimeout="10000"
        multipartUploadThreshold="10485760"
        bucketName="test-bucket-name"
        minimumUploadPartSize="5242880"
        proxyPassword=""
        maxPoolSize="20"
        proxyUsername=""
        proxyPort="12345"
        s3Region="us-west-1"
        s3Endpoint="s3.us-west-1.amazonaws.com"
        proxyHost=""
        corePoolSize="7"
        ntlmProxyWorkstation=""
        s3StorageClass="STANDARD"
        
      3. Start portal.
      4. Go to Site Administration > Content > Documents and Media.
      5. Upload a file and assert that the file is present in S3 Store.
      6. In Documents and Media, move file to Recycle Bin. Go to Recycle Bin, delete file.
      7. Check the file in S3 Store.

      Expected Result:
      The file is also removed from S3 Store.

      Actual Result:
      The file is still present in S3 Store after delete it in DM.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            summer.zhang Summer Zhang
            Participants of an Issue:
            Recent user:
            Summer Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              12 weeks, 3 days ago

                Packages

                Version Package