B2018-023: With two sessions open, cannot export a procedure set if other session is on VEPROMS tree node
This commit is contained in:
parent
7ab18b30d1
commit
3977cebe1d
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user