B2020-084 Logic to load formats from procedure set export files that were generated prior to User Control of Format.
This commit is contained in:
@@ -999,7 +999,14 @@ namespace VEPROMS
|
|||||||
string config = null;
|
string config = null;
|
||||||
XmlNode cfg = nd.Attributes.GetNamedItem("config");
|
XmlNode cfg = nd.Attributes.GetNamedItem("config");
|
||||||
if (cfg != null) config = cfg.InnerText;
|
if (cfg != null) config = cfg.InnerText;
|
||||||
string pname = nd.Attributes.GetNamedItem("pname").InnerText;
|
// B2020-084 GetNmaedItems was returning a null for pname.
|
||||||
|
// Only get the pname text if the pname attribute is found
|
||||||
|
// If there is no pname, then don't try to process and continue on with the next XML Node in the node list
|
||||||
|
string pname = null;
|
||||||
|
XmlNode pnameAttrib = nd.Attributes.GetNamedItem("pname");
|
||||||
|
if (pnameAttrib != null)
|
||||||
|
pname = pnameAttrib.InnerText;
|
||||||
|
if (pname == null) continue;
|
||||||
string description = null;
|
string description = null;
|
||||||
XmlNode descript = nd.Attributes.GetNamedItem("description");
|
XmlNode descript = nd.Attributes.GetNamedItem("description");
|
||||||
if (descript != null) description = descript.InnerText;
|
if (descript != null) description = descript.InnerText;
|
||||||
|
Reference in New Issue
Block a user