Compare commits
No commits in common. "21279a87aecaad704ad0ed14aad84601082f0c1b" and "3d5ad4a17eca571ff9d726af37947ece6ae965ad" have entirely different histories.
21279a87ae
...
3d5ad4a17e
@ -665,13 +665,11 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
TranFixCount++;
|
TranFixCount++;
|
||||||
itemInfo.MyContent.FixTransitionText(traninfo, itemInfo, "Reason for Change: Transition to Non-Editable Step");
|
itemInfo.MyContent.FixTransitionText(traninfo, itemInfo, "Reason for Change: Transition to Non-Editable Step");
|
||||||
using (Content content = Content.Get(itemInfo.MyContent.ContentID)) //B2024-006 free up content memory when done
|
Content content = Content.Get(itemInfo.MyContent.ContentID);
|
||||||
{
|
|
||||||
content.FixTransitionText(traninfo, true);
|
content.FixTransitionText(traninfo, true);
|
||||||
content.Save();
|
content.Save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!forceConvertToText)
|
if (!forceConvertToText)
|
||||||
{
|
{
|
||||||
@ -684,15 +682,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
forceConvertToText = true;
|
forceConvertToText = true;
|
||||||
TranFixCount++;
|
TranFixCount++;
|
||||||
itemInfo.MyContent.FixTransitionText(traninfo, itemInfo, "Reason for Change: Transition to External Procedure using Internal Format");
|
itemInfo.MyContent.FixTransitionText(traninfo, itemInfo, "Reason for Change: Transition to External Procedure using Internal Format");
|
||||||
using (Content content = Content.Get(itemInfo.MyContent.ContentID)) //B2024-006 free up content memory when done
|
Content content = Content.Get(itemInfo.MyContent.ContentID);
|
||||||
{
|
|
||||||
content.FixTransitionText(traninfo, true);
|
content.FixTransitionText(traninfo, true);
|
||||||
content.Save();
|
content.Save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!forceConvertToText)
|
if (!forceConvertToText)
|
||||||
{
|
{
|
||||||
@ -705,15 +701,13 @@ namespace VEPROMS.CSLA.Library
|
|||||||
forceConvertToText = true;
|
forceConvertToText = true;
|
||||||
TranFixCount++;
|
TranFixCount++;
|
||||||
itemInfo.MyContent.FixTransitionText(traninfo, itemInfo, "Reason for Change: Transition to Outside Procedure using Internal Format");
|
itemInfo.MyContent.FixTransitionText(traninfo, itemInfo, "Reason for Change: Transition to Outside Procedure using Internal Format");
|
||||||
using (Content content = Content.Get(itemInfo.MyContent.ContentID)) //B2024-006 free up content memory when done
|
Content content = Content.Get(itemInfo.MyContent.ContentID);
|
||||||
{
|
|
||||||
content.FixTransitionText(traninfo, true);
|
content.FixTransitionText(traninfo, true);
|
||||||
content.Save();
|
content.Save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!forceConvertToText)
|
if (!forceConvertToText)
|
||||||
{
|
{
|
||||||
@ -725,8 +719,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
if (newText != oldText || newValue == "?")
|
if (newText != oldText || newValue == "?")
|
||||||
{
|
{
|
||||||
TranFixCount++;
|
TranFixCount++;
|
||||||
using (Content content = Content.Get(itemInfo.MyContent.ContentID)) //B2024-006 free up content memory when done
|
Content content = Content.Get(itemInfo.MyContent.ContentID);
|
||||||
{
|
|
||||||
content.FixTransitionText(traninfo);
|
content.FixTransitionText(traninfo);
|
||||||
content.Save();
|
content.Save();
|
||||||
}
|
}
|
||||||
@ -734,7 +727,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// // B2018-002 - Invalid Transitions - Method to check for invalid transitions and convert them to text
|
// // B2018-002 - Invalid Transitions - Method to check for invalid transitions and convert them to text
|
||||||
public static bool ConvertInvalidTransitionsToText(ItemInfo itemInfo)
|
public static bool ConvertInvalidTransitionsToText(ItemInfo itemInfo)
|
||||||
@ -974,8 +966,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
//ShowDifference(oldText, newText); // debug - display in Visual Studio Output window
|
//ShowDifference(oldText, newText); // debug - display in Visual Studio Output window
|
||||||
ROFixCount++;
|
ROFixCount++;
|
||||||
using (Content content = Content.Get(itemInfo.MyContent.ContentID)) //B2024-006 free up content memory when done
|
Content content = Content.Get(itemInfo.MyContent.ContentID);
|
||||||
{
|
|
||||||
if (roval == "?")
|
if (roval == "?")
|
||||||
{
|
{
|
||||||
oldText = content.ConvertROToText(rousage, roval, roch.type, origROFst);
|
oldText = content.ConvertROToText(rousage, roval, roch.type, origROFst);
|
||||||
@ -998,7 +989,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
//C2022-028 check the RO link text - compare with RO Usage information, annotate RO links that are bad
|
//C2022-028 check the RO link text - compare with RO Usage information, annotate RO links that are bad
|
||||||
internal static void MyCheckROLinks(ItemInfo itemInfo)
|
internal static void MyCheckROLinks(ItemInfo itemInfo)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user