B2022-025: Barakah print/merge of alarm gets out of memory error – dispose procs loaded in when resolving transition text
Added a null check Added some aids for debugging the contentinfo cache
This commit is contained in:
@@ -182,7 +182,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
string key = "";
|
||||
|
||||
if (ovrrideChild == "")
|
||||
if (ovrrideChild == null || ovrrideChild == "")
|
||||
key = string.Format("{0}.{1}.{2}", ROFstID, dvi.DocVersionConfig.MaxSlaveIndex, dvi.DocVersionConfig.SelectedSlave);
|
||||
else
|
||||
key = string.Format("{0}.{1}.{2}", ROFstID, dvi.DocVersionConfig.MaxSlaveIndex, ovrrideChild); // C2021-065 use OTHER child information
|
||||
@@ -191,7 +191,7 @@ namespace VEPROMS.CSLA.Library
|
||||
dicLookups.Clear(); //B2022-001 clear the dictionary each time to free up memory - out of memory fix
|
||||
dicLookups.Add(key, new ROFSTLookup(this, dvi));
|
||||
}
|
||||
if (ovrrideChild != "")
|
||||
if (ovrrideChild != null && ovrrideChild != "")
|
||||
dicLookups[key].OtherChild = ovrrideChild; // C2021-065 use the OTHER applicabiltiy info to get RO Values
|
||||
return dicLookups[key];
|
||||
}
|
||||
|
Reference in New Issue
Block a user