ALF-14835: Sharepoint/WebDAV: exclusive lock fails deemed to be owned by someone else.

Bug exhibited on MS Word for Mac.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@38381 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2012-06-26 15:13:08 +00:00
parent ae56b07a6c
commit 5e6a4545f2

View File

@@ -1048,11 +1048,11 @@ public abstract class WebDAVMethod
// OK to write - lock is owned by current user.
return nodeLockInfo;
}
}
else
{
// Exclusive lock, owned by someone else
throw new WebDAVServerException(WebDAV.WEBDAV_SC_LOCKED);
else
{
// Exclusive lock, owned by someone else
throw new WebDAVServerException(WebDAV.WEBDAV_SC_LOCKED);
}
}
}
}