Bug 510781 - OSLC4J downloads zip files do not unzip properly when downloaded with Firefox
Summary: OSLC4J downloads zip files do not unzip properly when downloaded with Firefox
Status: NEW
Alias: None
Product: Lyo
Classification: Technology
Component: Client (show other bugs)
Version: 2.1.0   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.x.x   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-20 12:43 EST by Jim Amsden CLA
Modified: 2017-11-06 12:42 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Amsden CLA 2017-01-20 12:43:00 EST
On MacOS, downloading org.eclipse.lyo.oslc4j.no_dependencies-2.1.1.zip with Firefox 45.6.0, and double-clicking to expand with Archive Utility results in the creation of org.eclipse.lyo.oslc4j.no_dependencies-2.1.1.zip.cpgz instead of actually unzipping the file. Attempting to unzip this file creates a copy of org.eclipse.lyo.oslc4j.no_dependencies-2.1.1.zip. This could be a sign of a corrupt download. See: http://osxdaily.com/2013/02/13/open-zip-cpgz-file/

org.eclipse.lyo.oslc4j.no_dependencies-2.1.1.zip downloads and expands fine using Safari. 

We should look to see if there's something about how the zip file is created that makes it not unzip properly when downloaded with Firefox.
Comment 1 Andrii Berezovskyi CLA 2017-01-25 12:00:06 EST
I can confirm that Archive Utility does this. I use Keka & Unarchiver so I never noticed anything similar.

Seems like it's a JAR renamed into ZIP.

$ file org.eclipse.lyo.oslc4j.no_dependencies-2.1.1.zip
org.eclipse.lyo.oslc4j.no_dependencies-2.1.1.zip: Java archive data (JAR)

We should make ZIP files ourselves (even though a quick look at zipinfo output seems OK).
Comment 2 Andrii Berezovskyi CLA 2017-11-06 12:42:02 EST
Cleaning up "3.0.0" bugs.