The import code has been fixed to recognize tables even if the FromType is incorrect.

This commit is contained in:
Rich 2018-12-14 19:51:12 +00:00
parent 372475d20d
commit e1d96a186e

View File

@ -3910,7 +3910,13 @@ namespace VEPROMS
{ {
foreach (XmlNode xn in myNode.ChildNodes) foreach (XmlNode xn in myNode.ChildNodes)
{ {
switch (xn.Name) // B2018-154 Code added to check for incorrect Part record.
// Barakah Conversion Code incorrectly set the FromType to Step rather than Table.
// This has been corrected in the conversion code.
string xnName = xn.Name;
if (xn.SelectSingleNode("step/content/grid") != null)
xnName = "tables";
switch (xnName)
{ {
case "sections": case "sections":
AddSections(xn, parentInfo); AddSections(xn, parentInfo);