Nuxeo Answers
ask a question

When I open a document using WebDAV, generally the system locks it. This seems to work perfectly with Office and OpenOffice documents... However with .txt and .pdf there's a problem. These type of files are not locked when they are opened with WebDAV: this could make sense for .pdf (they are only-read document), but not for .txt. Moreover, since a pdf is not locked, it could happen the following scenario: I open a pdf with WebDAV and, while I'm reading it, another user changes the main file of that document using the browser interface. Isn't it a conflict? I'm reading an obsolete and no longer existing file...

asked Mar 20 '12 at 11:07 Alice 156192127 Alice's gravatar image
edited Mar 22 '12 at 15:22 Florent Guillaume ♦♦ 5.3k112251 Florent%20Guillaume's gravatar image

And I add: I know that WebDav is developped for Office files, but I thought that locking management would have worked in any case.

(Mar 20 '12 at 12:23) Alice

It's the client using the WebDAV protocol that is responsible for doing whatever locking it wants. So in this case, Microsoft Office and OpenOffice know that when they use WebDAV to access a file, they should also lock it.

However when you open a Text or PDF file with WebDAV, how do you actually open them? Through which client on your computer? If it's just your file explorer (Windows Explorer, Mac OS Finder, etc.) then it just reads the file and sends it to a third-party application that has no idea that the file was read through WebDAV or how to lock it.

answered Mar 22 '12 at 15:25 Florent Guillaume ♦♦ 5.3k112251 Florent%20Guillaume's gravatar image

Hello, For me the automatic locking process doesn't work fine with Microsoft Office. Have you test it with large doc more than 3Mo? Large Doc are already lock and I can't save.

Anyone have an idea about this? I don't knows what i can do?

Best Regards, moise

answered Mar 27 '12 at 13:09 moise 14817 moise's gravatar image

Please ask questions as a new Question on this site. This is not a forum or mailing-list, this is a Question/Answers based site.

(Mar 29 '12 at 16:59) Florent Guillaume ♦♦
Your answer
toggle preview

Bug Report

You found a bug? Please make sure you've asked the question here before submitting a bug report.

Report a bug

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Mar 20 '12 at 11:07

Seen: 1,859 times

Last updated: Mar 29 '12 at 16:59