From 821103fc879fa72e805e7e92b7a54a13cb1ad930 Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 21 May 2014 21:43:43 +0000 Subject: [PATCH] P/C PC - Fixed range transition logic so that transitions to steps which are affected by applicability will show the correct step number for the first through the last step. --- PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs index 86947ad9..66771842 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs @@ -961,12 +961,12 @@ namespace VEPROMS.CSLA.Library { if (rangeAncestors.ContainsKey(next.ItemID)) return rangeAncestors[next.ItemID]; - while (next.NextItem == null) + while (next.GetNextItem() == null) { next = next.ActiveParent as ItemInfo; if(next == null) throw(new Exception("Cannot find Next Item")); } - return next.NextItem; + return next.GetNextItem(); } private static bool AddOptionalTranGetSectionHdr(TransitionBuilder tb) {