Initialize static variable containing the BASEall.xml format information

Added a static variable for the BASEall.xml format information
Added parameters to allow a transition search in selected step elements. (B2015-055)
Make symbol list available without first selecting a procedure set, fixed searching for symbols bug (B2014-057), fix for transition search by type (B2015-055),
This commit is contained in:
2015-08-20 18:59:16 +00:00
parent d5b30b523f
commit 6f68a01ca9
4 changed files with 44 additions and 10 deletions

View File

@@ -228,6 +228,10 @@ namespace VEPROMS
throw new Exception("Inconsistent Formats");
if (!ItemAuditInfo.IsChangeManagerVersion())
throw new Exception("Inconsistent Data");
// set a static variable to the PROMS Base format (BASEall.xml)
// this is used to resolve Global Search bug B2014-057 so that we can get to the symbol list when no DocVersion is selected
if (FormatInfo.PROMSBaseFormat == null)
throw new Exception("Could not set PROMSBaseFormat");
if ((Database.LastDatabase ?? "") != (Database.SelectedDatabase ?? ""))
{
Properties.Settings.Default.MRIList = null;