B2017-271: Copy/paste procedure, with enhanced background, crashes if missing step(s) in background

This commit is contained in:
Kathy Ruffing 2017-12-12 13:48:53 +00:00
parent 2d9dfb41f8
commit 3e4c4782bd

View File

@ -1503,8 +1503,8 @@ namespace VEPROMS.CSLA.Library
EnhancedSetNoteCautionLinks(newSourceSectionInfo.Steps[iStp], enhType); 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) private ItemInfo GetNextEnhancedStep(ItemInfo itemInfo)