Project

General

Profile

Actions

Bug #3084

closed

Need to be able to set filenames on data uploads

Added by Chad Berkley almost 17 years ago. Updated about 16 years ago.

Status:
Resolved
Priority:
Immediate
Category:
metacat
Target version:
Start date:
01/22/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3084

Description

There needs to be functionality in metacat to allow the setting of a filename for data uploads. Currently, when you upload a data file, it is stored on disc as it's docid. When you go to download it, the MIME filename attribute is set as "data". There needs to be an interface added to set the MIME filename on upload so that when you download the file, the correct filename can be put into the MIME encoding.

This will probably require adding a field to xml_documents to store the filename. The appropriate interfaces on the ecogrid also need to be updated so that this functionality is available via the grid.


Related issues

Blocked by Kepler - Bug #2493: actor repository tracking bugResolvedSean Riddle07/18/2006

Actions
Blocks Metacat - Bug #2566: need to set filename for download filesResolvedShaun Walbridge10/17/2006

Actions
Actions #1

Updated by Matt Jones almost 17 years ago

This bug is a close relative to bug # 2566, and verges on being a duplicate. The xml_documents table already contains a docname field that is used for storing the name of the document that is uploaded in the mime header. The correct naming behavior for download is being fixed by Shaun and is outlined on the wiki here:

http://help.nceas.ucsb.edu/Informatics_tools_deployment#Sensible_names

Actions #2

Updated by Shaun Walbridge about 16 years ago

Fixed in r4685, see related comments in #2566.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 3084

Actions

Also available in: Atom PDF