Revision 8566
Added by ben leinfelder almost 11 years ago
src/edu/ucsb/nceas/metacat/dataone/SystemMetadataFactory.java | ||
---|---|---|
291 | 291 |
} |
292 | 292 |
if (obsoletesSysMeta != null) { |
293 | 293 |
obsoletesSysMeta.setObsoletedBy(identifier); |
294 |
obsoletesSysMeta.setArchived(true); |
|
294 |
// DO NOT set archived to true -- it will have unintended consequences if the CN sees this. |
|
295 |
//obsoletesSysMeta.setArchived(true); |
|
295 | 296 |
obsoletesSysMeta.setDateSysMetadataModified(Calendar.getInstance().getTime()); |
296 | 297 |
HazelcastService.getInstance().getSystemMetadataMap().put(obsoletes, obsoletesSysMeta); |
297 | 298 |
} |
Also available in: Unified diff
do not set sm.archived=true when generating system metadata for objects that come in via the old Metacat API.