Project

General

Profile

Actions

Bug #7187

closed

Set file names correctly when reading objects from Metacat

Added by Chris Jones over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
05/10/2017
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

We now store file names in SystemMetadata.fileName. In MetacatHandler.readFromMetacat(), we are currently generating a file name based on the docid, and setting it into the Content-Disposition header. Change generateOutputName() to use SystemMetadata.fileName when it's available, and fall back to generating a file name.

Actions

Also available in: Atom PDF