Description

When unzipping an attached zip file all files unzipped are the identical. That is one of the files in the zip is copied to each of the remaining file names in the zip.

Steps to reproduce

  1. zip some files
  2. attach the resulting zip file to a wiki page
  3. select the unzip option displayed on the attachments for your wiki page
  4. note that all the unzipped file sizes are the same

Example

screenshot.png

Details

MoinMoin Version

1.5.0

OS and Version

Linux 2.6.9

Python Version

2.3.4

Server Setup

Server Details

Workaround

Upload files individually.

Edit AttachFile.py:

-                for (oirgname, finalname) in namelist.iteritems():                                                                           
+                for (origname, finalname) in namelist.iteritems():                                                                           

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/ZipMultipleAttachmentFeatureBroken (last edited 2007-10-29 19:09:05 by localhost)