B2020-053: Exported Folder specific information is not imported

This commit is contained in:
Kathy Ruffing 2020-04-08 16:50:05 +00:00
parent dca22b5d01
commit 2e71c66183

View File

@ -3384,7 +3384,9 @@ namespace VEPROMS
Format format = formatid == string.Empty ? null : OldToNewFormat(int.Parse(formatid), formatfilename);
if (Folder.GetByParentID_Name(p.FolderID, name) != null)
return null;
Folder f = Folder.MakeFolder(p, p.MyConnection, name, title, shortname, format, null, dts, usrid);
// B2020-053: procedure set (folder) specific info was not imported:
string config = xd.DocumentElement.Attributes.GetNamedItem("config").InnerText;
Folder f = Folder.MakeFolder(p, p.MyConnection, name, title, shortname, format, config, dts, usrid);
return f;
}
private Format OldToNewFormat(int formatID, string formatFileName)