Project

General

Profile

« Previous | Next » 

Revision 7515

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