B2018-104: Top continue message printed when step was just starting and sub-sub-steps break at less ideal location.
This commit is contained in:
@@ -1378,7 +1378,8 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
ItemInfo parent = ActiveParent as ItemInfo;
|
||||
if (parent == null) return false;
|
||||
if (parent.IsExactType("And") || parent.IsExactType("Or")) return true;
|
||||
// B2018-104: Make the following check consistent with what is in CalcStepLevel (added ImplicitOr)
|
||||
if (parent.IsExactType("And") || parent.IsExactType("Or") || parent.IsExactType("ImplicitOr")) return true;
|
||||
return parent.ParentAndOr;
|
||||
}
|
||||
}
|
||||
@@ -1388,7 +1389,8 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
ItemInfo parent = ActiveParent as ItemInfo;
|
||||
if (parent == null) return 0;
|
||||
if (parent.IsExactType("And") || parent.IsExactType("Or")) return 1 + parent.ParentAndOrCount;
|
||||
// B2018-104: Make the following check consistent with what is in CalcStepLevel (added ImplicitOr)
|
||||
if (parent.IsExactType("And") || parent.IsExactType("Or") || parent.IsExactType("ImplicitOr")) return 1 + parent.ParentAndOrCount;
|
||||
return parent.ParentAndOrCount;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user