PUBLIC - Liferay Portal Community Edition

Uploaded tar.gz file in Wiki or Forum portlet is corrupted

Details

  • Type: Technical Support Technical Support
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 6.0.6 GA, 6.0.12 EE, 6.1.0 CE RC1, 5.2.X EE
  • Component/s: General
  • Environment:
    Tomcat 6.0 + MySQL 5. 6.0.x Revision 85973.
    Tomcat 6.0 + MySQL 5. 6.1.x Revision 85973.
    Tomcat 6.0 + MySQL 5. 5.2.x Revision 85973.
  • Branch Version/s:
    6.0.x, 6.1.x
  • Backported to Branch:
    Committed
  • Similar Issues:
    Show 5 results 

Description

Upload a *.tar.gz attachment in the Wiki or Forum portlet. Then download the file. Downloaded file will be corrupt.

Here is a random example of the bug:

http://www.liferay.com/community/forums/-/message_boards/message/7669153

Download the tar.gz attachment, it is corrupt.

Issue Links

Activity

Hide
Paul Piao added a comment -

Hi Alex,
Thank you for your report. I was able to reproduce this issue in Liferay Portal 6.0.6 GA. I have also tested this issue on trunk revision 85973 and I was also reproduce. I will update the this ticket to reflect the issue.

Show
Paul Piao added a comment - Hi Alex, Thank you for your report. I was able to reproduce this issue in Liferay Portal 6.0.6 GA. I have also tested this issue on trunk revision 85973 and I was also reproduce. I will update the this ticket to reflect the issue.
Hide
Drew Blessing added a comment -

Hi Alex,

Thank you for your report. As part of the community verifier program I am taking a look at this issue.

I tried to reproduce this on Liferay 6.1 GA1 but could not.

Steps tried:

  1. Attach a sample tar.gz file to a wiki page
  2. Download the file from the wiki
  3. Untar the file on the local machine

The file came out as expected. Have you had an opportunity to test this on Liferay 6.1 GA1?

Show
Drew Blessing added a comment - Hi Alex, Thank you for your report. As part of the community verifier program I am taking a look at this issue. I tried to reproduce this on Liferay 6.1 GA1 but could not. Steps tried:
  1. Attach a sample tar.gz file to a wiki page
  2. Download the file from the wiki
  3. Untar the file on the local machine
The file came out as expected. Have you had an opportunity to test this on Liferay 6.1 GA1?
Hide
Michael Saechang added a comment -

Committed on:
6.0.x GIT ID: 2a4cac79ed4468f59ebd6ae40517b0645c401592.
6.1.x GIT ID: 075a450c19e53959dfd4aa739d0d63a60baa92ac.
6.2.x GIT ID: 075a450c19e53959dfd4aa739d0d63a60baa92ac.

Show
Michael Saechang added a comment - Committed on: 6.0.x GIT ID: 2a4cac79ed4468f59ebd6ae40517b0645c401592. 6.1.x GIT ID: 075a450c19e53959dfd4aa739d0d63a60baa92ac. 6.2.x GIT ID: 075a450c19e53959dfd4aa739d0d63a60baa92ac.
Hide
Pani Gui added a comment -

PASSED Manual Testing using the following steps:

1. Add Wiki portlet to a page.
2. Create wiki front page.
3. Click Attachment.
4. Click Add Attachments button.
5. Use the classic uploader to upload a file with *tar.gz type.
6. Save.
7. Download the file.
8. Open the download file.

Reproduced on:
Tomcat 6.0 + MySQL 5. 6.0.12 EE.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: b33b66ad30dd027671873d00010673d9efcf306a.

The downloaded file is corrupt.

Fixed on:
Tomcat 6.0 + MySQL 5. 6.0.x GIT ID: 42a2ae4b307363ecfa126dd037a2952238aa9633.
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 6d6b8814da7c7295ed4cab8420e070793361f856.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 71ce8e940ae12bae24e2a5e14cf3f836bb291915.

The downloaded file isn't corrupt and open correctly.

Show
Pani Gui added a comment - PASSED Manual Testing using the following steps: 1. Add Wiki portlet to a page. 2. Create wiki front page. 3. Click Attachment. 4. Click Add Attachments button. 5. Use the classic uploader to upload a file with *tar.gz type. 6. Save. 7. Download the file. 8. Open the download file. Reproduced on: Tomcat 6.0 + MySQL 5. 6.0.12 EE. Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: b33b66ad30dd027671873d00010673d9efcf306a. The downloaded file is corrupt. Fixed on: Tomcat 6.0 + MySQL 5. 6.0.x GIT ID: 42a2ae4b307363ecfa126dd037a2952238aa9633. Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 6d6b8814da7c7295ed4cab8420e070793361f856. Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 71ce8e940ae12bae24e2a5e14cf3f836bb291915. The downloaded file isn't corrupt and open correctly.

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: