NCEAS / morpho

Morpho metadata editor
GNU General Public License v2.0
3 stars 1 forks source link

Get an error when user save a data package to net and local by using DOI #1035

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Author Name: Jing Tao (Jing Tao) Original Redmine Issue: 5896, https://projects.ecoinformatics.org/ecoinfo/issues/5896 Original Date: 2013-03-26 Original Assignee: Jing Tao


matt: However, I just changed the data package, and tried to save to net and local again with a DOI, and I got this error: [10:56am] matt: "Morpho couldn't find the source data file doi:10.5072/FK22F7WKT in any location (the temp, incomplete, data directories and the network) for copying" [10:57am] benMac: that's no good. Jing - have you had problems with this before? [10:57am] matt: and then the data isn't showing up in the morpho window any longer [10:58am] matt: also, the newly saved data package didn't replace the original, so now the same data package is listed twice in my open dialog.

mbjones commented 6 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:32:03Z


Original Bugzilla ID was 5896

mbjones commented 6 years ago

Original Redmine Comment Author Name: Jing Tao (Jing Tao) Original Date: 2013-03-27T23:42:43Z


In the local saving, I changed to use the D1Object.getDataSource().getOutputStream() to get the bytes rather than looking up a file by the identifier. This can avoid some issues in the identifiers changing.