From 3de3252f1b56306c90ace42d70cbb7e47709eba8 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 7 Apr 2022 21:16:27 +0000 Subject: [PATCH] C2022-014 commented out debug write to error log --- PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs index fd0ca617..5f1a2747 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs @@ -337,8 +337,9 @@ namespace VEPROMS.CSLA.Library if (roval == null) return null; //string childName = MyDocVersionInfo.DocVersionConfig.Unit_Name; MatchCollection mm = Regex.Matches(roval, "("); // B2022-020 remove a un-needed question mark that was in the search criteria - if (mm.Count == 0) // B2022-020 will now write in error log if there is a problem - _MyLog.WarnFormat("Parent/Child Values not parsable for \r\nItemId={0}\r\nROValue={1} ",MyDocVersionInfo.ItemID,roval); + // C2022-014 commented write to error log. Keep for debugging purposes. + //if (mm.Count == 0) // B2022-020 will now write in error log if there is a problem + // _MyLog.WarnFormat("Parent/Child Values not parsable for \r\nItemId={0}\r\nROValue={1} ",MyDocVersionInfo.ItemID,roval); StringBuilder sb = new StringBuilder(); int lastIndex = 0; // Get selected child Idx