mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for ALF-3081: "Failed to signal transition from workflow "Expired content in 'Test'" task when click "Task Done"s"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22572 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -190,15 +190,6 @@ public class AVMLockingServiceImpl implements AVMLockingService
|
||||
{
|
||||
case LOCK_NOT_OWNER:
|
||||
case LOCK_OWNER:
|
||||
if (currentLockState.equals(LockState.LOCK_NOT_OWNER))
|
||||
{
|
||||
// The lock is held by another user
|
||||
if (! AuthenticationUtil.isRunAsUserTheSystemUser())
|
||||
{
|
||||
String currentLockOwner = getLockOwner(avmStore, path);
|
||||
throw new AVMLockingException("avmlockservice.locked", path, currentLockOwner);
|
||||
}
|
||||
}
|
||||
// Remove the lock first
|
||||
attributeService.removeAttribute(KEY_AVM_LOCKS, avmStore, path);
|
||||
HashMap<String, String> lockAttributes = createLockAttributes(lockOwner, lockData);
|
||||
|
Reference in New Issue
Block a user