Added code to support conversion to text of invalid referenced objects and invalid transitions
Added command line switch NOUPDATERO to prevent updating referenced objects Added code to support conversion to text of invalid transitions
This commit is contained in:
@@ -293,7 +293,8 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
docver.DocVersionAssociations[0].MyROFst = rofst;
|
||||
docver.Save();
|
||||
UpdateROValuesText(origROFst, rofst, DocVersionInfo.Get(docver.VersionID));
|
||||
if (!Volian.Base.Library.VlnSettings.GetCommandFlag("NOUPDATERO"))
|
||||
UpdateROValuesText(origROFst, rofst, DocVersionInfo.Get(docver.VersionID));
|
||||
return rofst;
|
||||
}
|
||||
|
||||
@@ -333,7 +334,8 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
// Now update the usages: compare old to new rofsts and update usages accordingly, i.e. modified
|
||||
// values, deleted ros, etc.
|
||||
UpdateROValuesText(origROFst, rofst, DocVersionInfo.Get(docver.VersionID));
|
||||
if (!Volian.Base.Library.VlnSettings.GetCommandFlag("NOUPDATERO"))
|
||||
UpdateROValuesText(origROFst, rofst, DocVersionInfo.Get(docver.VersionID));
|
||||
return rofst;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user