431c431 < if(guid != null && !idman.identifierExists(guid)) --- > if(guid != null && !(docName.trim().equals("systemMetadata")) && !idman.identifierExists(guid)) 440,447c440,441 < else < { < logReplication.debug("No guid information was included with the replicated document"); < } < < //handle systemMetadata < if(docName.trim().equals("systemMetadata")) < { --- > else if (guid != null && docName.trim().equals("systemMetadata")) > {//handle systemMetadata 465a460,464 > else > { > logReplication.debug("No guid information was included with the replicated document"); > } > 575,576c574,585 < < --- > > // keep track of dataone guid's even for science data > String guid = docinfoHash.get("guid"); > logReplication.debug("guid passed from docinfo hash: " + guid); > IdentifierManager idman = IdentifierManager.getInstance(); > if(guid != null && !idman.identifierExists(guid)) > { //if the guid was passed in, put it in the identifiers table > logReplication.debug("ReplicationHandler.handleSingleDataFile -Creating guid/docid mapping for local/docid " + > docinfoHash.get("docid") + " and guid: " + guid); > idman.createMapping(guid, docinfoHash.get("docid")); > } >