Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 416364

Summary: ZIP file as a raw upload is faulty
Product: [ECD] Orion Reporter: Timur Sungur <timurhan.s>
Component: ServerAssignee: Eric Moffatt <emoffatt>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Timur Sungur CLA 2013-09-02 09:59:41 EDT
Whenever I upload a zip formatted file somehow file is corrupted and the size is bigger than the initial file size. 

For example the file that I upload is 46,5 MB and the resulting file in Orion is 69,8 MB, it cannot be opened again. I make the upload via FILE API using PUT request. 

An example upload request:

PUT /file/project/fileName
Orion-Version: 1.0
X-Xfer-Options: raw
Comment 1 Aidan Redpath CLA 2014-09-26 10:54:10 EDT
Can you upload an example file where this size change occurs?
Comment 2 John Arthorne CLA 2015-05-05 16:33:58 EDT
Bug was assigned to an inactive contributor. Moving back to inbox.
Comment 3 Eric Moffatt CLA 2015-06-12 10:39:25 EDT
I'm going to close this due to the lack of response. The defect is twp years old and we haven't seen any other instances of this reported.

Feel free to re-open but only if you can attach a ZIP that demonstrates the issue in the current Orion release.