B2016-081 if a transition is to a non-editable section, also check that if it goes to a step in that non-editable section
This commit is contained in:
parent
ba8d5d9ea7
commit
ee91973682
@ -634,7 +634,7 @@ namespace VEPROMS.CSLA.Library
|
||||
if (traninfo.MyItemToID.ActiveSection != null)
|
||||
{
|
||||
SectionConfig sc = traninfo.MyItemToID.ActiveSection.MyConfig as SectionConfig;
|
||||
forceConvertToText = (sc.SubSection_Edit == "N");
|
||||
forceConvertToText = (sc.SubSection_Edit == "N" && traninfo.MyItemToID.IsStep); // Bug fix B2016-081 also check if transition is to a step element
|
||||
}
|
||||
if (forceConvertToText)
|
||||
{
|
||||
|
@ -744,7 +744,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
SectionConfig sc = tran.MyItemToID.ActiveSection.MyConfig as SectionConfig;
|
||||
//SectionConfig sc = new SectionConfig(tran.MyItemToID.ActiveSection.MyConfig.ToString());
|
||||
forceConvertToText = (sc.SubSection_Edit == "N");
|
||||
forceConvertToText = (sc.SubSection_Edit == "N" && tran.MyItemToID.IsStep); // Bug fix B2016-081 also check if transition is to a step element
|
||||
}
|
||||
if (!forceConvertToText) //check to see if external with internal format
|
||||
{
|
||||
@ -793,7 +793,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
SectionConfig sc = tran.MyItemToID.ActiveSection.MyConfig as SectionConfig;
|
||||
//SectionConfig sc = new SectionConfig(tran.MyItemToID.ActiveSection.MyConfig.ToString());
|
||||
forceConvertToText = (sc.SubSection_Edit == "N");
|
||||
forceConvertToText = (sc.SubSection_Edit == "N" && tran.MyItemToID.IsStep); // Bug fix B2016-081 also check if transition is to a step element
|
||||
}
|
||||
if (!forceConvertToText) //check to see if external with internal format
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user