Bug 28595 - Method Unlock doesn't work
Summary: Method Unlock doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Slide
Classification: Unclassified
Component: WebDAV client (show other bugs)
Version: 2.0
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: Slide Developer List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-26 09:40 UTC by Thomas Bernert
Modified: 2004-11-17 23:19 UTC (History)
0 users



Attachments
Bug in discoverLock() eliminated. (1.39 KB, patch)
2004-04-26 09:40 UTC, Thomas Bernert
Details | Diff
bug description (493 bytes, text/plain)
2004-11-18 08:19 UTC, Shammy Chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bernert 2004-04-26 09:40:13 UTC
The unlock method doesn't work. the method doesn't find any locks of a 
requested file.
Comment 1 Thomas Bernert 2004-04-26 09:40:28 UTC
Created attachment 11335 [details]
Bug in discoverLock() eliminated.
Comment 2 Oliver Zeigermann 2004-04-26 09:56:56 UTC
Patch applied
Comment 3 Shammy Chen 2004-11-18 08:19:13 UTC
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?