Revision 8770
Added by ben leinfelder over 10 years ago
src/edu/ucsb/nceas/metacat/dataone/CNodeService.java | ||
---|---|---|
1460 | 1460 |
logMetacat.debug("Locked identifier " + pid.getValue()); |
1461 | 1461 |
sysmeta.setSerialVersion(BigInteger.ONE); |
1462 | 1462 |
sysmeta.setDateSysMetadataModified(Calendar.getInstance().getTime()); |
1463 |
sysmeta.setArchived(false); // this is a create op, not update |
|
1463 |
//sysmeta.setArchived(false); // this is a create op, not update
|
|
1464 | 1464 |
|
1465 | 1465 |
// the CN should have set the origin and authoritative member node fields |
1466 | 1466 |
try { |
Also available in: Unified diff
do not set archived=false for all CN.create calls. The CN will use create() even harvesting content that is new to it and needs to handle already-archived content. https://projects.ecoinformatics.org/ecoinfo/issues/6475