B2018-126 & B2018-133: Issues with library document usages – fixed sql error caused by 10/2/18 update
This commit is contained in:
parent
a45b66fe8c
commit
6e2f4ca31e
@ -789,11 +789,13 @@ namespace VEPROMS.CSLA.Library
|
||||
else
|
||||
_LastChanged = Entry.Update(cn, content.ContentID, _DocID, _DTS, _UserID, ref _LastChanged);
|
||||
MarkOld();
|
||||
// B2018-126 & B2018-133: Refresh for library document usage change:
|
||||
// B2018-126 & B2018-133: Refresh for library document usage change (note that original checkin had a null check for
|
||||
// _MyDocument.DocumentEntries that was causing a sql Distributed Transaction Coordinator error - this was removed
|
||||
// after original checkin)
|
||||
if (_MyDocument != null)
|
||||
{
|
||||
_MyDocument.Update();
|
||||
if (_MyDocument.DocumentEntries != null) _MyDocument.Reset_DocumentEntries();
|
||||
_MyDocument.Reset_DocumentEntries();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user