• WebDAV killed my repository!

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #18724  by macjaeger
 
There are a number of WebDAV clients to choose from, I was looking for a free client to mount (a part of) the OpenKM 6.2 repository as a windows drive. I came across DirectNetDrive and at first it looked simple and sturdy. I connected drive letter K:\ to http://myserver:8080/OpenKM/webdav/okm_root and could upload files, download files, create folders, etc. in windows explorer - all was looking good. But then I did the horrible thing: I tried to move one file into a subfolder by drag&drop, and bang! the repository was broken! Then WebDAV access failed all the time, and the frontend complained "OKM-002015: Document path not found", I had to rebuild the OpenKM-installation from scratch (which was no problem, I'm just testdriving the system and employ a well organised set of backups...).

I could recreate the problem with different settings, e.g. enabling / disabling "system.webdav.fix", using "okm:root" as well as "okm_root", etc.; it makes no difference if the user is okmAdmin or some unprivileged jonDoe. I tried CarotDAV instead without this problem (it doesn't mount to windows drive letter, though!), and I'm gooing to testdrive other WebDAV-clients later.

I'm not sure if DirectNetDrive is to blame, or if it's windows 7, but in any case WebDAV should not be able to kill the repository in a single drag&drop operation... Would you please look into this? Right now I can not enable WebDAV without risk of breaking the whole server!

[update]
NetDrive (different application than DirectNetDrive!) doesn't cause the problem when drag&dropping files, so it seems the bug lies within DirectNetDrive. That's good news, but still NO single one webdav client should be able to kill the repository, as you can never be sure who's targetting what software at your server...
 #18726  by jllort
 
We suggest netdrive or webdrive ( works perfect ). Use direct Windows webdav support as your own risk, there're know bugs in webdav windows implementation ( for several years ) that Microsoft seems decided to be never corrected.
 #18728  by pavila
 
We usually work with NetDrive people to improve compatibility with OpenKM. Sadly WebDAV is a quite weird protocol and all the clients does not implement in the same way.
 #18732  by macjaeger
 
I understand that you suggest some specific WebDAV-clients, and i see the reasons. I can advise, but I can not control which clients my users (students and teachers in my case) will use. If ill behaved clients would only just fail, that would only be this users problem; but obviously "bad" clients can break the repository. So in order to protect the repository i have to disable WebDAV completely! It's not a show-stopper, but not very comfortable.
 #18745  by pavila
 
No, this is a global configuration property.

Anyway you should raise a bug to DirectNetDrive people.

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.