Project

General

Profile

« Previous | Next » 

Revision 7128

add a parameter for optionally writing EML-embedded access control rules to the Metacat DB.
https://redmine.dataone.org/issues/2584
https://redmine.dataone.org/issues/2583

View differences:

ReplicationService.java
569 569
					.getDBConnection("MetacatReplication.handleForceReplicateRequest");
570 570
			serialNumber = dbConn.getCheckOutSerialNumber();
571 571
			// write the document to local database
572
			DocumentImplWrapper wrapper = new DocumentImplWrapper(parserBase, false);
572
			DocumentImplWrapper wrapper = new DocumentImplWrapper(parserBase, false, false);
573 573
			//try this independently so we can set access even if the update action is invalid (i.e docid has not changed)
574 574
			try {
575 575
				wrapper.writeReplication(dbConn, xmldoc, null, null,

Also available in: Unified diff