Compare commits
No commits in common. "6a51208a139c3dba41de62da225ca0dfa96bd71c" and "f65644f553136b7c58a99d5934cf9a33d06cb45c" have entirely different histories.
6a51208a13
...
f65644f553
@ -805,21 +805,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// B2025-020 Null Reference fix. Added check for valid index into the TransitionTypeList
|
|
||||||
if (!forceConvertToText)
|
|
||||||
{
|
|
||||||
if (traninfo.TranType >= itemInfo.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList.Count)
|
|
||||||
{
|
|
||||||
forceConvertToText = true;
|
|
||||||
TranFixCount++;
|
|
||||||
itemInfo.MyContent.FixTransitionText(traninfo, itemInfo, "Reason for Change: Transition type is not available");
|
|
||||||
using (Content content = Content.Get(itemInfo.MyContent.ContentID))
|
|
||||||
{
|
|
||||||
content.FixTransitionText(traninfo, true);
|
|
||||||
content.Save();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (!forceConvertToText)
|
if (!forceConvertToText)
|
||||||
{
|
{
|
||||||
if (itemInfo.MyProcedure.ItemID != traninfo.MyItemToID.MyProcedure.ItemID) //different proc
|
if (itemInfo.MyProcedure.ItemID != traninfo.MyItemToID.MyProcedure.ItemID) //different proc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user