tdf#82677 and SID_* e.g. Slot IDs I think...

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Mon Aug 22 11:08:58 UTC 2016


Hi all,

trying to find a fix for bug 
<https://bugs.documentfoundation.org/show_bug.cgi?id=82677>, I found the 
origin of the PROPFIND bursts seen in WebDAV by the bug reporter: it's 
in this function member:
<http://opengrok.libreoffice.org/xref/core/sfx2/source/doc/sfxbasemodel.cxx#2574>
called from:
<http://opengrok.libreoffice.org/xref/core/sfx2/source/doc/sfxbasemodel.cxx#2603>
called from:
<http://opengrok.libreoffice.org/xref/core/sfx2/source/doc/objserv.cxx#912>
where switch case SID_CHECKOUT is run.
this other switch case is run as well:
<http://opengrok.libreoffice.org/xref/core/sfx2/source/doc/objserv.cxx#947>

What makes things interesting all this is happening only on Mac and 
Linux, not on Windows where SID_CHECKOUT, SID_CHECKIN, 
SID_CANCELCHECKOUT are found only if the document is loaded from a CMIS 
source.

Question: why is it happening?
I mean, why a document from a non CMIS source is checked for versioning, 
some future implementation to be done?

For WebDAV this gerrit <https://gerrit.libreoffice.org/#/c/28313/> fixes 
the bug, by simplifying thing a bit.
Can someone have a look if it's all right (and if I'm not oversimplifying)?

-- 
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