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:
@@ -290,8 +290,6 @@ public class WebDAVServlet extends HttpServlet
|
||||
NodeService nodeService = (NodeService) context.getBean("NodeService");
|
||||
SearchService searchService = (SearchService) context.getBean("SearchService");
|
||||
NamespaceService namespaceService = (NamespaceService) context.getBean("NamespaceService");
|
||||
LockStoreFactory lockStoreFactory = (LockStoreFactory) context.getBean("webdavLockStoreFactory");
|
||||
LockStore lockStore = lockStoreFactory.getLockStore();
|
||||
ActivityService activityService = (ActivityService) context.getBean("activityService");
|
||||
PersonService personService = m_serviceRegistry.getPersonService();
|
||||
|
||||
@@ -299,7 +297,7 @@ public class WebDAVServlet extends HttpServlet
|
||||
activityPoster = new ActivityPosterImpl(activityService, nodeService, personService);
|
||||
|
||||
// Create the WebDAV helper
|
||||
m_davHelper = new WebDAVHelper(m_serviceRegistry, lockStore, authService, tenantService);
|
||||
m_davHelper = new WebDAVHelper(m_serviceRegistry, authService, tenantService);
|
||||
|
||||
// Initialize the root node
|
||||
|
||||
|
Reference in New Issue
Block a user