Revision 9486
Added by ben leinfelder almost 9 years ago
src/edu/ucsb/nceas/metacat/dataone/MNodeService.java | ||
---|---|---|
551 | 551 |
// set the originating node |
552 | 552 |
NodeReference originMemberNode = this.getCapabilities().getIdentifier(); |
553 | 553 |
sysmeta.setOriginMemberNode(originMemberNode); |
554 |
|
|
555 |
// if no authoritative MN, set it to the same |
|
556 |
if (sysmeta.getAuthoritativeMemberNode() == null) { |
|
557 |
sysmeta.setAuthoritativeMemberNode(originMemberNode); |
|
558 |
} |
|
559 |
|
|
554 | 560 |
sysmeta.setArchived(false); |
555 | 561 |
|
556 | 562 |
// set the dates |
Also available in: Unified diff
set authoritative MN to origin MN if the client did not set it on mn.create. https://projects.ecoinformatics.org/ecoinfo/issues/6938