diff --git a/PROMS/VEPROMS User Interface/dlgExportImport.cs b/PROMS/VEPROMS User Interface/dlgExportImport.cs index bf75b724..99b46d8b 100644 --- a/PROMS/VEPROMS User Interface/dlgExportImport.cs +++ b/PROMS/VEPROMS User Interface/dlgExportImport.cs @@ -3910,7 +3910,13 @@ namespace VEPROMS { 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": AddSections(xn, parentInfo);