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

Errors are thrown when uploading an image through Amazon S3

    Details

    • Story Points:
      8
    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Establish your portal-ext.properties with S3 credentials:
            dl.store.s3.access.key=XXXXXXXXXXXXX
            dl.store.s3.secret.key=XXXXXXXXXXXXX
            dl.store.s3.bucket.name=XXXXXXXXXXXX
            dl.store.impl=com.liferay.portlet.documentlibrary.store.S3Store
      2. Start up the Portal
      3. Sign in as [email protected]
      4. Go to Control Panel > Content > Documents and Media
      5. Add Basic Document and upload an image
      6. Go to Control Panel > Content > Web Content
      7. Create a web content structure with an image field
      8. Add a corresponding template
      9. Add a web content with the previously created structure, to it, upload an image, make sure to do it through S3

      Expected result:
      The image uploads with no error.

      Actual result:
      Error thrown in logs:

      06:25:48,439 ERROR [http-bio-8080-exec-6][PDFProcessorImpl:147] com.liferay.portal.kernel.exception.SystemException: org.jets3t.service.S3ServiceException: Failed to initialize a SAX XMLReader
      com.liferay.portal.kernel.exception.SystemException: org.jets3t.service.S3ServiceException: Failed to initialize a SAX XMLReader...
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              yvonne.han Yvonne Han
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 40 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 Beta 1