Bug 146131 - webDAV Windows cache problems, additional username/password
Summary: webDAV Windows cache problems, additional username/password
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.4.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: WebDAV
  Show dependency treegraph
 
Reported: 2021-12-08 16:18 UTC by Marc
Modified: 2023-12-19 12:36 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Login dialog after opening an ODT file through WebDAV drive (28.45 KB, image/png)
2022-12-29 11:53 UTC, mgutt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc 2021-12-08 16:18:23 UTC
If you link a webDAV share under windows to a drive (e.g. z:), libreoffice does not use system access to webDAV and instead asks for username/password.

Addtionally the cache of webDAV is not in sync, e.g. libreoffice complains about lockfiles not present (anymore) on the share.

If a ressource is managed by the system, libreoffice should use the system functions and have transparent access to it!
Comment 1 Thorsten Behrens (allotropia) 2021-12-08 17:11:27 UTC
(In reply to Marc from comment #0)
> If you link a webDAV share under windows to a drive (e.g. z:), libreoffice
> does not use system access to webDAV and instead asks for username/password.
> 
Could you provide a bit more information (which LibreOffice version(s) you tried this with, what's the webDAV server you're working with etc)?
Comment 2 Marc 2021-12-08 17:21:10 UTC
This is libreoffice 7.2.4
webDAV is provided by hetzner (https://www.hetzner.com/de/storage/storage-box) and added as a network-drive to windows with an assigned drive letter.

So far everything is as expected, all applications can open/store files on that network share. If you then open a file on that share with libreoffice, you get an authentication prompt for the network ressource. I assume libreoffce has queried the source of the file which points to https://..... and tries to open it via network instead of using the (virtual) file provided by the system on drive "z:".
Comment 3 Marc 2022-01-05 11:40:07 UTC
is there anything I can do about this? any debug info needed?
Comment 4 Thorsten Behrens (allotropia) 2022-01-05 14:40:12 UTC
(In reply to Marc from comment #3)
> is there anything I can do about this? any debug info needed?
>
Lets wait for someone to reproduce this.

Meanwhile, you might want to try if https://downloadarchive.documentfoundation.org/libreoffice/old/7.3.0.1/win/ perhaps improves matters already; that version contains a brand-new webdav implementation.
Comment 5 mgutt 2022-12-29 11:53:58 UTC
Created attachment 184383 [details]
Login dialog after opening an ODT file through WebDAV drive

I'm using Writer 7.3.7.2 and it has the same problem. My WebDAV drive (Nextcloud hosted on my home server) is mounted in Windows as drive N:\ through Network > Connect network drive. No other application except LibreOffice asks for the WebDAV login to open and edit files on this drive. So this step is not necessary at all and a special behavior of LibreOffice. I think it accesses the URL instead of the drive "N:\".

I attached a screenshot which shows the behavior.
Comment 6 Frank Wall [:fraenki] 2023-12-19 12:36:52 UTC
I am still able to reproduce this behaviour in LibreOffice 7.5.9.