From d8f00ec19782d0c248162bbf19e2e523dbce6e9d Mon Sep 17 00:00:00 2001 From: Kathy Date: Mon, 8 May 2017 15:55:42 +0000 Subject: [PATCH] =?UTF-8?q?B2017-081:=20crash=20on=20insert=20of=20supplem?= =?UTF-8?q?ental=20information.=20Cached=20item=20was=20of=20wrong=20type.?= =?UTF-8?q?=20Removed=20lines=20of=20code=20using=20this=20=E2=80=93=20it?= =?UTF-8?q?=20was=20not=20needed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs index 02067586..7b9a50b0 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemInsertExt.cs @@ -356,7 +356,6 @@ namespace VEPROMS.CSLA.Library tmp.UpdateROText(); OnNewSiblingBefore(new ItemInfoInsertEventArgs(tmp, EAddpingPart.Before)); ((ItemInfo)ActiveParent).MyContent.RefreshContentParts(); - if (tmp.IsSupInfoPart) (MyActiveSection as SectionInfo).HasSupInfoSteps = true; return tmp; } private ItemInfo InsertSmartTemplateSubStep(string text, string number, ItemInfo tmp, EAddpingPart adPart, int type, E_FromType fromTypeTop) @@ -699,7 +698,6 @@ namespace VEPROMS.CSLA.Library // Update all of the content records that have transitions that point to the Siblings or Sibling Children of the new item tmp.UpdateTransitionText(); tmp.UpdateROText(); - if (tmp.IsSupInfoPart) (MyActiveSection as SectionInfo).HasSupInfoSteps = true; OnNewSiblingAfter(new ItemInfoInsertEventArgs(tmp, EAddpingPart.After)); return tmp; } @@ -870,7 +868,6 @@ namespace VEPROMS.CSLA.Library tmp.UpdateROText(); MyContent.RefreshContentParts(); ResetParts(); - if (tmp.IsSupInfoPart) (MyActiveSection as SectionInfo).HasSupInfoSteps = true; OnNewChild(new ItemInfoInsertEventArgs(tmp, EAddpingPart.Child)); return tmp; }