Project

General

Profile

Revision 7515

Added by Chris Jones over 7 years ago

Set the session to null so that the call uses the CN certificate when calling MN.systemMetadataChanged();

View differences:

src/edu/ucsb/nceas/metacat/dataone/CNodeService.java
769 769
		      		    if ( node.getType() == NodeType.MN) {
770 770
		      		        MNode replicaNode = D1Client.getMN(nodeId);
771 771
		      		        // call MN.systemMetadataChanged();
772
		      		        replicaNode.systemMetadataChanged(getSession(), 
772
		      		        replicaNode.systemMetadataChanged(null, 
773 773
		      		            systemMetadata.getIdentifier(), 
774 774
		      		            systemMetadata.getSerialVersion().longValue(), 
775 775
		      		            systemMetadata.getDateSysMetadataModified());

Also available in: Unified diff