From 3e4c4782bdf7ef8bd4d17e2e5dd4261833b5aca8 Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 12 Dec 2017 13:48:53 +0000 Subject: [PATCH] B2017-271: Copy/paste procedure, with enhanced background, crashes if missing step(s) in background --- PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs index a147a4ce..88b03a24 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs @@ -1503,8 +1503,8 @@ namespace VEPROMS.CSLA.Library EnhancedSetNoteCautionLinks(newSourceSectionInfo.Steps[iStp], enhType); } } + enhStep = GetNextEnhancedStep(enhStep); // B2017-271: this needs to be within the condition where the enhanced step is linked. } - enhStep = GetNextEnhancedStep(enhStep); } } private ItemInfo GetNextEnhancedStep(ItemInfo itemInfo)