B2017-271: Copy/paste procedure, with enhanced background, crashes if missing step(s) in background
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user