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 #1

Updated by Chris Jones over 7 years ago

  • Target version changed from 2.8.3 to 2.9.0
Actions #2

Updated by Chris Jones over 7 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.

Actions #3

Updated by Jing Tao over 7 years ago

  • Target version changed from 2.9.0 to 2.8.3
Actions #4

Updated by Jing Tao over 7 years ago

  • Status changed from In Progress to Resolved

Tested it and it worked.

Actions #5

Updated by Chris Jones over 7 years ago

  • Target version changed from 2.8.3 to 2.8.4
Actions #6

Updated by Jing Tao over 7 years ago

  • Target version changed from 2.8.4 to 2.8.3

It is in the 2.8.3 release.

Actions

Also available in: Atom PDF