B2017-169 needed to create a temporary item list when processing the Update ROs and Refresh Transitions item loops
This commit is contained in:
parent
8f29d66215
commit
3681dfa9a6
@ -613,8 +613,13 @@ namespace VEPROMS.CSLA.Library
|
||||
//}
|
||||
if (itemInfo.MyContent.ContentPartCount > 0)
|
||||
foreach (PartInfo pi in itemInfo.MyContent.ContentParts)
|
||||
{
|
||||
List<ItemInfo> myItems = new List<ItemInfo>();
|
||||
foreach (ItemInfo ii in pi.MyItems)
|
||||
myItems.Add(ii);
|
||||
foreach (ItemInfo ii in myItems)
|
||||
MyRefreshTransitions(ii, itemInfo, (itemInfo as SectionInfo) ?? sectionInfo, procInfo, docVersionInfo, tranLookup);
|
||||
}
|
||||
if (itemInfo.MyContent.ContentTransitionCount > 0)
|
||||
{
|
||||
itemInfo.ResetOrdinal();
|
||||
@ -775,8 +780,13 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
if (itemInfo.MyContent.ContentPartCount > 0)
|
||||
foreach (PartInfo pi in itemInfo.MyContent.ContentParts)
|
||||
{
|
||||
List<ItemInfo> myItems = new List<ItemInfo>();
|
||||
foreach (ItemInfo ii in pi.MyItems)
|
||||
myItems.Add(ii);
|
||||
foreach (ItemInfo ii in myItems)
|
||||
MyRefreshReferenceObjects(ii, itemInfo, (itemInfo as SectionInfo) ?? sectionInfo, docVersionInfo);
|
||||
}
|
||||
ROFstInfo rofstinfo = docVersionInfo.DocVersionAssociations[0].MyROFst;
|
||||
ROFSTLookup lookup = rofstinfo.GetROFSTLookup(docVersionInfo);
|
||||
lookup.MyDocVersionInfo = docVersionInfo;
|
||||
|
Loading…
x
Reference in New Issue
Block a user