B2017-081: crash on insert of supplemental information. Cached item was of wrong type. Removed lines of code using this – it was not needed
This commit is contained in:
parent
3b03233003
commit
d8f00ec197
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user