B2018-018 When approving a second procedure, the cache had the ActiveSection as an ItemInfo instead of as a SectionInfo
This commit is contained in:
parent
beb9698528
commit
7123b2d59e
@ -3438,6 +3438,9 @@ namespace VEPROMS.CSLA.Library
|
||||
else
|
||||
_ActiveSection = this;
|
||||
}
|
||||
// B2018-018 Approval bug fix. Active section was in cache as an ItemInfo instead of a SectionInfo
|
||||
if (_ActiveSection != null && !(_ActiveSection is SectionInfo))
|
||||
_ActiveSection = SectionInfo.Get(_ActiveSection.ItemID);
|
||||
}
|
||||
return _ActiveSection.IsSection ? _ActiveSection : null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user