B2017-201 Was getting a NULL reference for SI (Section Info) when generating the approved PDF, if the Summary of Changes was not done with the approval.
This commit is contained in:
@@ -1707,6 +1707,9 @@ namespace Volian.Print.Library
|
||||
if (section.IsStepSection && nxtItem.IsStepSection)
|
||||
{
|
||||
SectionInfo si = nxtItem as SectionInfo;
|
||||
// B2017-201 if si is null we need to get it via the ItemID
|
||||
if (si == null)
|
||||
si = SectionInfo.Get(nxtItem.ItemID); //ActiveSection as SectionInfo;
|
||||
SectionConfig sc = si.SectionConfig;
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user