NCEAS / morpho

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

Morpho should use MN.query() to look for existing resourceMaps (OREs) when saving new versions of packages #1047

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Author Name: ben leinfelder (ben leinfelder) Original Redmine Issue: 6083, https://projects.ecoinformatics.org/ecoinfo/issues/6083

Original Assignee: Jing Tao


Instead of relying on the naming pattern ("resourceMap_" + metadataId) for ORE objects, we should query the MN for OREs that package the metadata we are updating.

mbjones commented 6 years ago

Original Redmine Comment Author Name: Jing Tao (Jing Tao) Original Date: 2013-10-07T21:38:08Z


A lookup method was implemented which will query the MN to get the ore document with a specified the metadata id.