Commits

Anonymous committed 5b10395 Merge

merge local ID bug fix (high priority)

  • Participants
  • Parent commits 9f6b31a, 63f13cc
  • Branches production

Comments (0)

Files changed (1)

File ingest-src/src/main/java/org/cdlib/mrt/ingest/handlers/HandlerMinter.java

 			    jobState.setLocalID(retrievedLocalID);
 			} else {
 	                    for (String lid : retrievedLocalID.split(";")) {
-				if (! jobState.getLocalID().getValue().contains(lid)) {
+				if (! jobState.getLocalID().getValue().contains(lid.trim())) {
 				    // append
-			            jobState.setLocalID(jobState.getLocalID() + "; " + retrievedLocalID);
+			            jobState.setLocalID(jobState.getLocalID() + "; " + lid.trim());
 				} else {
-		        	    System.out.println("[warn] " + MESSAGE + "Local ID already contains: " + lid);
+		        	    System.out.println("[warn] " + MESSAGE + "Local ID already contains: " + lid.trim());
 				}
 			    }
 			}