gnome archive manager incorrect handling of jar repositories

Bug #1245534 reported by moboticdes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
file-roller (Ubuntu)
Expired
Low
Unassigned

Bug Description

I found out archive manager deals incorrectly with jar archives, by incorrectly I found out these two bugs:

1. archive manager permits duplicate jar files while a jar with a duplicate file returns the error: duplicate entry: some/class.class
2. if you open two jar files and copy a folder with many class files into the other jar, some files won't get copied.

I realize the above is a little too generic however I have a simple way to reproduce the error: download the jgroups jar library from sourceforge (jgroups-3.3.0.Alpha2.jar), extract the jar file into a folder, recompress the jar file into a new jar file jgroups-3.3.0.Alpha2_new.jar now do a md5sum of the two files and they will be different.

If you analyze the two archives file per file you'll see gnome archiver will have missed some files and duplicated some others.

Tags: jar java
tags: removed: md5sum
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:

  apport-collect 1245534

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in file-roller (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for file-roller (Ubuntu) because there has been no activity for 60 days.]

Changed in file-roller (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.