Project

General

Profile

Bug #6649

Metacat MN.create method doesn't check if the identifier exists in CNs (dataone network)

Added by Dave Vieglais over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
01/19/2015
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

See https://redmine.dataone.org/issues/6488

Metacat MN.create and CN.create share the code to check if the identifier exists. But it only checks two places - identifier table and systemmetadata table. It is a local check and this check may be correct for CN. But in the MN.create documenation: The pid must not exist in the DataONE system.

So MN.create should call the CN.reserveIdentifier(id) to check if the id exists in the system wide.

Also available in: Atom PDF