Bug #7187
Set file names correctly when reading objects from Metacat
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.
History
#1 Updated by Chris Jones over 3 years ago
- Target version changed from 2.8.3 to 2.9.0
#2 Updated by Chris Jones over 3 years ago
- Status changed from New to In Progress
I've modified generateOutputName
to use SystemMetadata.fileName
when it's available. We'll need to test this in a 2.9.0 deployment.
#3 Updated by Jing Tao over 3 years ago
- Target version changed from 2.9.0 to 2.8.3
#4 Updated by Jing Tao over 3 years ago
- Status changed from In Progress to Resolved
Tested it and it worked.
#5 Updated by Chris Jones over 3 years ago
- Target version changed from 2.8.3 to 2.8.4
#6 Updated by Jing Tao over 3 years ago
- Target version changed from 2.8.4 to 2.8.3
It is in the 2.8.3 release.