mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
AVMLockingService.removeLock() quietly returns if called for a non-existent lock,
instead of throwing an exception. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6052 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -329,7 +329,7 @@ public class AVMLockingServiceImpl implements AVMLockingService
|
|||||||
Attribute lockData = fAttributeService.getAttribute(keys);
|
Attribute lockData = fAttributeService.getAttribute(keys);
|
||||||
if (lockData == null)
|
if (lockData == null)
|
||||||
{
|
{
|
||||||
throw new AVMNotFoundException("Lock does not exist: " + webProject + " " + path);
|
return;
|
||||||
}
|
}
|
||||||
keys.remove(3);
|
keys.remove(3);
|
||||||
fAttributeService.removeAttribute(keys, pathKey);
|
fAttributeService.removeAttribute(keys, pathKey);
|
||||||
|
Reference in New Issue
Block a user