mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
ALF-13028: Sharepoint broken by changes to WebDAV
Integrated fix for ALF-11777 so that locks are not kept for more than 24 hours and 24 hour or infinite locks are dropped on user's session destruction. Extracted interface from WebDAVLockService and moved the implementation to WebDAVLockServiceImpl. Modified WebDAVLockServiceImpl to use the LockStore in-memory locking. WebDAV and SPP use WebDAVLockService instead of directly using LockStore. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@35486 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -190,7 +190,7 @@ public class PutMethod extends WebDAVMethod implements ActivityPostProducer
|
||||
}
|
||||
|
||||
String userName = getDAVHelper().getAuthenticationService().getCurrentUserName();
|
||||
LockInfo lockInfo = getLockStore().get(contentNodeInfo.getNodeRef());
|
||||
LockInfo lockInfo = getDAVLockService().getLockInfo(contentNodeInfo.getNodeRef());
|
||||
|
||||
if (lockInfo != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user