We're updating the issue view to help you get more done. 

Zip archives mangles names

Description

The bulk downloader mangles names when there are multiple files with similar names. From one of our users:

There is no issue in uploading, you need to now download what you have uploaded.

I believe the issue is in the creation of the zip file for download.

Reproduction from Kenny:

Here is the test Synapse project to inspect:

https://www.synapse.org/#!Synapse:syn20432078/

Files:

https://www.synapse.org/#!Synapse:syn20432078/files/

Select any two files with the same base name such as dog.jpg and dog.png for inclusion in a download. These files have different names but when they are included in a zip file the names become dog.jpg and dog(1).png.

This is incorrect behavior

Environment

None

Status

Assignee

Marco Marasca

Reporter

Larsson Omberg

Labels

None

Validator

Larsson Omberg

Release Version History

None

Sprint

Fix versions

Priority

Critical