B2018-019 replace non-standard dash character with a keyboard dash character when building the revision checks during an approval.

This commit is contained in:
John Jenko 2018-02-08 14:47:26 +00:00
parent bb503e62b0
commit f94556ba39

View File

@ -905,7 +905,9 @@ namespace VEPROMS.CSLA.Library
BuildTransitionFromChecks(cc, proc);
BuildTransitionToChecks(cc, proc);
BuildLibDocChecks(cc, proc);
return cc.ToString().Replace("OldDocDate=\"0001-01-01T00:00:00\"", "").Replace("", """).Replace("", """); // B2018-016 approve errors trying to process open/close quote characters
// B2018-016 approve errors trying to process open/close quote characters
// B2018-019 approve errors trying to process non-standard dash charcter  so replace it with a '-'
return cc.ToString().Replace("OldDocDate=\"0001-01-01T00:00:00\"", "").Replace("", """).Replace("", """).Replace("","-");
}
//end jcb stuff
private static void BuildROChecks(ConsistencyChecks cc, ProcedureInfo proc)