To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=29152
------- Additional comments from [EMAIL PROTECTED] Wed Apr 2 11:09:20 +0000 2008 ------- The new locking mechanics in calcshare2 cws is just a workaround for heterogeneous network file systems problem. Unfortunately, in some cases the system file locking does not work there as expected. The necessary for the workaround lock file is used to store the information about the user, this information can be used in the new com.sun.star.document.LockedDocumentRequest request later. The current usage of "IsReadOnly" property is no hack from my point of view, if we agree that ReadOnly mode of documents is not hack, that is actually questionable for me. Although I can not say anything abouth implemenation. In few words the approach in MediaDescriptor is as follows: - the file URLs can be opened for editing and locked, so if it is not possible to do it the file is locked or readonly or does not exist and can not be created... - all other URLs do not allow file locking, so the file is always opened ReadOnly; if the "IsReadOnly" property not set it will be allowed to edit the document So the new WebDAV locking could do something like following to let it work at least as the file locking before without introducing of the new property for all the contents ( and as I understood this is the wish for the first step ) : - the file URL is handled as before - the WebDAV content should provide information whether it is possible to get readwrite stream from the content in general ( in other words the fact that the server supports the feature, sorry I do not know whether it always so ), if yes the impossibility to open the stream means exactly the same as in case of file-URL - all other cases ( including WebDAV that supports no locking ) are handled as before based on IsReadOnly property and input stream By the way, generally the change in calcshare2 should not affect the WebDAV locking mechanics, although after the cws calcshare2 is integrated the SfxMedium part should be adjusted to let new WebDAV locking be used. It is a quite small change, but it is already too late to integrate it in calcshare2 since QA round is already in progress. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]