• OpenKM with WebDrive Unlock problem

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #14310  by zeropower
 
Hi,
I have a problem in Lock/Unlock option at WebDrive with OpenKM 5.1.9, I follows the instruction at http://wiki.openkm.com/index.php/WebDAV_access and it works great for transferring files but when using lock option at WebDrive it give this message:
Lock.error.PNG
Lock.error.PNG (4.39 KiB) Viewed 4526 times
while it already locked the file, for unlocking it doesn't work.
My WebDrive version is 10.1 build 2557.

Log file info. coming when choosing unlock option:
Code: Select all
2012-03-06 14:14:19,265 INFO  [org.apache.jackrabbit.core.query.lucene.IndexMerger] merged 59 documents in 78 ms into _9j.
2012-03-06 14:22:07,781 INFO  [com.bradmcevoy.http.HttpManager] PROPFIND :: http://localhost/OpenKM/webdav/okm:root/Preview.Samples/PDFs/midas_Civil_catalog.pdf - http://km.econstruct.co/OpenKM/webdav/okm:root/Preview.Samples/PDFs/midas_Civil_catalog.pdf
2012-03-06 14:22:07,796 DEBUG [com.bradmcevoy.property.BeanPropertySource] getPropertyMetaData
2012-03-06 14:22:07,796 DEBUG [com.bradmcevoy.property.BeanPropertySource]  no annotation: 
2012-03-06 14:22:07,796 DEBUG [com.bradmcevoy.property.BeanPropertySource] getPropertyMetaData
2012-03-06 14:22:07,796 DEBUG [com.bradmcevoy.property.BeanPropertySource]  no annotation: 
2012-03-06 14:22:07,796 DEBUG [com.bradmcevoy.http.webdav.PropFindPropertyBuilder] property not found in any property source: {DAV:}createdby
2012-03-06 14:22:07,921 DEBUG [com.bradmcevoy.http.webdav.PropFindPropertyBuilder] some properties could not be resolved. Listing property sources:
2012-03-06 14:22:07,921 DEBUG [com.bradmcevoy.http.webdav.PropFindPropertyBuilder]  - com.bradmcevoy.property.CustomPropertySource
2012-03-06 14:22:07,921 DEBUG [com.bradmcevoy.http.webdav.PropFindPropertyBuilder]  - com.bradmcevoy.property.MultiNamespaceCustomPropertySource
2012-03-06 14:22:07,921 DEBUG [com.bradmcevoy.http.webdav.PropFindPropertyBuilder]  - com.bradmcevoy.property.BeanPropertySource
2012-03-06 14:22:07,921 DEBUG [com.bradmcevoy.http.webdav.PropFindPropertyBuilder]  - com.bradmcevoy.http.webdav.WebDavProtocol
 #14355  by webdrivetech
 
Hi Zeropower,

Please let me know if I can be of assistance. I am a tech at SRT and directly support WebDrive. It looks like pavila did a fix build (server side?). Please let me know how you are locking/unlocking the files (manually or is auto dav locking enabled?). Also, please feel free to submit a helpdesk ticket to South River Technologies at srthelpdesk.com if this issue persists.
 #14359  by zeropower
 
Thanks all for your replies.

I am using manual option from right-click menu.
menu.PNG
menu.PNG (4.63 KiB) Viewed 4513 times
I tried auto lock and same error appears while already locked the file but cannot unlock it, this happened only for default extensions, not working at all if added any other extensions like ".pdf"
WebDrive.Monitor.PNG
WebDrive.Monitor.PNG (37.25 KiB) Viewed 4513 times
I didn't submit a ticket as i am not sure from where exactly the problem persist.

Would you please inform about the expected time for releasing the new version.

Thanks a lot.
 #14360  by zeropower
 
Hi,
I tried the night build but the same problem exist for unlocking the file, i can lock now as before but without any error message but still can't unlock any locked files.
Thanks.
 #14378  by pavila
 
Can you post the WebDrive log when unlocking a file? Also would be fine to attach the zipped OpenKM server.log
 #14437  by zeropower
 
Hi,
Sorry for late reply.
I attached the server log of a test server which has the same problem using version OpenKM 5.1.10, also the WebDrive log.
Code: Select all
DAV Unlock file \Preview.Samples\Drawings\P- 0032.dwg
--> DoCommand Connection: OPEN Command:(PROPFIND)
--- docommand trying again count 0 ---
PROPFIND /OpenKM/webdav/okm:root/Preview.Samples/Drawings/P-%200032.dwg HTTP/1.1
req: Content-Type: text/xml
req: Depth: 0
req: Host: km.econstruct.co
req: User-Agent: Microsoft Data Access Internet Publishing Provider DAV
req: Translate: f
req: Authorization: Basic bS5oYXRlbTpNaWRvTWlkbw==
req: Content-Length: 160
req: Connection: Keep-Alive
<?xml version="1.0" encoding="utf-8" ?><propfind xmlns="DAV:"  xmlns:srtns="http
://www.southrivertech.com/"><prop><lockdiscovery/><createdby/></prop></propfind>
rsp: HTTP/1.1 207 Multi-Status
rsp: Server: Apache-Coyote/1.1
rsp: X-Powered-By: Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)/JBossWeb-2.0
rsp: Date: Mon, 12 Mar 2012 07:46:30 GMT
rsp: Content-Type: text/xml;charset=UTF-8
rsp: Content-Length: 406
<-- DoCommand return 1
Read 406 bytes from server
<?xml version="1.0" encoding="utf-8" ?>
<D:multistatus xmlns:D="DAV:">
<D:response>
<D:href>/OpenKM/webdav/okm:root/Preview.Samples/Drawings/P-#200032.dwg</D:href>
<D:propstat>
<D:prop>
<D:lockdiscovery>
</D:lockdiscovery>
</D:prop>
<D:status>HTTP/1.1 200</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<D:createdby/></D:prop>
<D:status>HTTP/1.1 404</D:status>
</D:propstat>
</D:response>
</D:multistatus>
HTTP Connection staying open
Lock Token: 
Lock Owner: 
Lock Created By: 
Lock Timeout: 0
Locked by this user: no
Attachments
(88.75 KiB) Downloaded 216 times
 #14495  by pavila
 
I have made some changes in the WebDAV layer, but actually there is a problem with the unlock action. I don't know if is only related to WebDrive or is client wide because there is a bug in the WebDAV implementation library.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.