Open gothub opened 3 years ago
The argument list for updateObject() contains the values for the pid that will be obsoleted and the pid that will be obsoleting the existing pid:
updateObject()
setMethod("updateObject", signature("MNode"), function(x, pid, file=as.character(NA), newpid, sysmeta, dataobj=NULL) {
This method should check that the sysmeta@obsoletes value matches the argument pid and that the sysmeta@identifier matches the argument newpid. If these values are set incorrectly in the sysmeta argument, then the call to DataONE will fail.
sysmeta@obsoletes
pid
sysmeta@identifier
newpid
sysmeta
The argument list for
updateObject()
contains the values for the pid that will be obsoleted and the pid that will be obsoleting the existing pid:This method should check that the
sysmeta@obsoletes
value matches the argumentpid
and that thesysmeta@identifier
matches the argumentnewpid
. If these values are set incorrectly in thesysmeta
argument, then the call to DataONE will fail.