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

S3Store.hasFile should use doesObjectExist instead of getObject when checking for a file

    Details

      Description

      S3Store.hasFile should use doesObjectExist instead of getObject when checking for a file as performance could suffer when simply checking if a file exists rather than retrieving the object.

      steps to confirm no regression

      1. set up aws s3 store as detailed here
      2. upload an image to documents and media
      3. confirm thumbnails are still generated for the document.

      This issue is not testable by QA

        Attachments

          Activity

            People

            Assignee:
            albert.lee Albert Lee
            Reporter:
            samuel.ziemer Sam Ziemer
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 51 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP33
                7.0.0 DXP SP7
                7.0.5 CE GA6
                7.0.X
                7.1.X
                Master