C2022-014 commented out debug write to error log
This commit is contained in:
parent
9d94851e94
commit
3de3252f1b
@ -337,8 +337,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
if (roval == null) return null;
|
if (roval == null) return null;
|
||||||
//string childName = MyDocVersionInfo.DocVersionConfig.Unit_Name;
|
//string childName = MyDocVersionInfo.DocVersionConfig.Unit_Name;
|
||||||
MatchCollection mm = Regex.Matches(roval, "(<APL [^<]+) /APL>"); // B2022-020 remove a un-needed question mark that was in the search criteria
|
MatchCollection mm = Regex.Matches(roval, "(<APL [^<]+) /APL>"); // 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
|
// C2022-014 commented write to error log. Keep for debugging purposes.
|
||||||
_MyLog.WarnFormat("Parent/Child Values not parsable for <APL ... /APL>\r\nItemId={0}\r\nROValue={1} ",MyDocVersionInfo.ItemID,roval);
|
//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 <APL ... /APL>\r\nItemId={0}\r\nROValue={1} ",MyDocVersionInfo.ItemID,roval);
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
int lastIndex = 0;
|
int lastIndex = 0;
|
||||||
// Get selected child Idx
|
// Get selected child Idx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user