Bug #6290
closed
- Assignee set to Lauren Walker
- Status changed from New to Resolved
The file naming methodology is now pid+object format type (RESOURCE, DATA, METADATA). I removed the randomly generated number from the end of the file names by creating a new File in the temp directory instead of using createTempFile. A downloaded package may now look like:
doi_10_5063_1
- data
- doi_10_5063_1-METADATA.xml
- Status changed from Resolved to In Progress
Two things to edit here:
- Add the file name from the EML to the BagIt file name instead of object format type. Look up old metacat ids in the EML and use the IdentityManager class to look up the DataONE id for that metacat docid in order to get an exact match with the pid in the ORE package. Keep the object format type as a fallback if a file name cannot be found
- Create a catch for identical temp file directories
- Status changed from In Progress to Resolved
Also available in: Atom
PDF