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

Cannot retrieve document thumbnail from S3 Store when reaching the Cache Directory Clean Up Frequency

    Details

      Description

      Steps to Reproduce

      • Setup Amazon S3 as a data store
      • Start Liferay connected to S3
      • Navigate to Control Panel > Configuration > System Settings > File Storage > S3 Store
        • Change with settings below:
          • "Cache Directory Clean Up Expunge" set to 0
          • "Cache Directory Clean Up Frequency" set to 1
      • Navigate to Content > Documents and Media
        • Add a jpg|png file
      • Add a Asset Publisher to any page
        • Note: that the thumbnail displayed correctly
      • Navigate to the page where Asset Publisher is located
      • Reload the browser with CTRL+SHIFT+R(super reload)
        • Note: May need to reload a couple times

      Expected Results
      The thumbnail is not displayed nor found in cache and throws a WARN message that indicates java.io.FileNotFoundException.

      Actual Results
      No error is thrown, the thumbnail is displayed correctly.

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            eric.yan Eric Yan
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              36 weeks ago

                Packages

                Version Package
                7.0.0 DXP FP93
                7.0.10.14 DXP SP14
                7.0.X
                7.1.10 DXP FP19
                7.1.10.5 SP5
                7.1.X
                7.2.10 DXP FP7
                7.2.X
                7.3.3 CE GA4
                7.3.10 DXP GA1
                Master