From 3977cebe1d5073752e15245980cbacf9405b660b Mon Sep 17 00:00:00 2001 From: Kathy Date: Mon, 4 Jun 2018 15:51:04 +0000 Subject: [PATCH] B2018-023: With two sessions open, cannot export a procedure set if other session is on VEPROMS tree node --- PROMS/VEPROMS User Interface/frmVEPROMS.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 23f8dfbf..917abff9 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -535,7 +535,9 @@ namespace VEPROMS if (fi != null) { string msg = string.Empty; - bool ok = MySessionInfo.CanCheckOutItem(fi.FolderID, CheckOutType.Session, ref msg); + // B2018-023: If exporting a procedure set, and someone else is in the database (but not this folder) + // don't stop the export (CheckOutType.Session was changed to CheckOutType.Folder). + bool ok = MySessionInfo.CanCheckOutItem(fi.FolderID, CheckOutType.Folder, ref msg); //bool ok = MySessionInfo.CanCheckOutItem(fi.FolderID, (args.Index == 0)? CheckOutType.Folder : CheckOutType.Session, ref msg); if (!ok) {