The unlock method doesn't work. the method doesn't find any locks of a requested file.
Created attachment 11335 [details] Bug in discoverLock() eliminated.
Patch applied
Created attachment 13489 [details] bug description Unlock method in class WebdavResource(client) has two shortcomings: (1)It doesn't try to get locktoken before unlocking,so imagine user shutdown his or her client just after locking a resource,but when he or she try to unlock this resource,he(she) is sure to fail.He(she) can do nothing but waiting the lock to timeout. (2)Once somebody locks a resource,no one else can unlock it though WEBDAV protocal has it that anybody has DAV:unlock privilege can do this. Can anybody fix this?