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

Document Library Add Multiple Documents(WAR file) creates 0 size file with S3Storedo

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.1.20 EE GA2, 6.1.30 EE GA3, 6.2.0 CE M4
    • Fix Version/s: 6.2.0 CE B2
    • Component/s: DM
    • Labels:
    • Environment:
      LIFERAY VERSION: 6.1 GA 2
      OPERATING SYSTEM: Linux
      APPLICATION SERVER: Tomcat 7.0.x
      JAVA VIRTUAL MACHINE: Java 6
      DATABASE: MySQL 5.5
    • Fix Priority:
      3

      Description

      Summary :
      Document Library Add Multiple Documents(WAR file) creates 0 size file with S3Store

      Steps to reproduce:

      1. Configure Liferay to use the S3Store
      2. Open the Documents and Media portlet
      3. Choose Add > Multiple Documents
      4. Click on the green Browse button
      5. Choose a small file, e.g. 500 byte text file
      6. After upload completes, click [Save]
      7. Choose a WAR file - it seems to be okay if we select a ZIP file, so perhaps it's related to MIME type?
      8. After upload completes, click [Save]
      9. Both files appear to have been saved correctly
      10. Click Back
      11. Download both files
      12. The large file will be empty (zero bytes)
      13. Open S3 Console and confirm the large file is zero bytes

      Note: Workaround is to use Add > Simple Document.

      Reproduce on 6.1.x(rev. 133865), trunk(rev. 133865)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  6.2.0 CE B2