NCEAS / metacat

Data repository software that helps researchers preserve, share, and discover data
https://knb.ecoinformatics.org/software/metacat
GNU General Public License v2.0
27 stars 13 forks source link

EZID metadata registration doesn't seem to work with SIDs #1206

Closed mbjones closed 5 years ago

mbjones commented 6 years ago

Author Name: Bryce Mecum (Bryce Mecum) Original Redmine Issue: 7223, https://projects.ecoinformatics.org/ecoinfo/issues/7223 Original Date: 2017-10-24 Original Assignee: Jing Tao


Earlier today, a DOI was generated using R's generateIdentifier (which calls MNStorage.generateIdentifier()). Then the newly-minted DOI was set as the Series ID of an EML 2.1.1 Object. The DOI was successfully registered with EZID but the EZID metadata was not correctly set on the object, as shown when I logged in. See the attached screenshot.

I expected the EZID metadata to get filled in like it normally does for DOIs that get used as PIDs. I took a quick glance at the relevant part of Metacat and it doesn't look like anything special is done to handle SIDs.

mbjones commented 6 years ago

Original Redmine Comment Author Name: Bryce Mecum (Bryce Mecum) Original Date: 2017-10-25T03:02:09Z


Chris volunteered to take a look at this and has a possible patch in place.

taojing2002 commented 5 years ago

The DOIService only handled the case the identifier on the system metadata is an DOI. Now it has been modified to handle three cases: