About fix for tdf#82744: WebDAV LOCK is released when document is saved

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Tue Jul 14 03:34:14 PDT 2015


Hi all,

while implementing a fix for:

https://bugs.documentfoundation.org/show_bug.cgi?id=82744

using ideas from a similar patch I proposed in AOO:
https://bz.apache.org/ooo/show_bug.cgi?id=126305

I came across a comment on top of method 
SfxMedium::ShowLockedDocumentDialog.

The comment states that lock/unlock should be put in the relevant ucb 
component.

Unfortunately I started implementing the fix managing the WebDAV 
lock/unlock from the framework instead.

Implementing the same thing directly in ucb/webdav appears difficult, 
because I didn't find there anything that has a lifetime usable for 
lock/unlock.

So, given the two choices:

1) do I continue to implement the fix in framework, hopefully finishing 
it in few days, or

2) do I start studying what to rewrite in webdav ucb component in order 
to support the lock/unlock directly there, in this case I have no idea 
what to to ATM; it can take some time to work out a suitable solution.

What would be the best course of action?

-- 
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu


More information about the LibreOffice mailing list