B2020-124: Fix crash on approval when working draft is not linked to an RO location
This commit is contained in:
parent
89a83c7064
commit
1f559a0d12
@ -935,6 +935,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// DocVersionInfo dbi = proc.ActiveParent as DocVersionInfo;
|
||||
DocVersionInfo dvi = proc.MyDocVersion;
|
||||
//_MyTimer.ActiveProcess = "Get MyROFst";
|
||||
if (dvi.DocVersionAssociations == null || dvi.DocVersionAssociations.Count == 0) return; // B2020-124: don't crash if docversion doesn't have rofst
|
||||
ROFstInfo rofst = ROFstInfo.GetJustROFst(dvi.DocVersionAssociations[0].ROFstID);
|
||||
//_MyTimer.ActiveProcess = "Get ROFst Lookup";
|
||||
//rofst.docVer = dvi;
|
||||
|
Loading…
x
Reference in New Issue
Block a user