Bug 65261 - WebDAV: LibO doesn't handle vnd.sun.star.webdav protocol out-of-the-box
Summary: WebDAV: LibO doesn't handle vnd.sun.star.webdav protocol out-of-the-box
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.0.2.2 release
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA needsWebDAV
Keywords:
Depends on:
Blocks: WebDAV
  Show dependency treegraph
 
Reported: 2013-06-02 10:27 UTC by Jonathan Pasquier
Modified: 2022-09-29 09:00 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Pasquier 2013-06-02 10:27:09 UTC
Libreoffice is able to open documents located on a WebDAV server if provided with an URL starting with the vnd.sun.star.webdav protocol.
(for instance: vnd.sun.star.webdav://example.com/webdav/my-document.odt )

Unfortunately, after installing Libreoffice on Ubuntu these URL aren't still handled correctly.

Whether you click on a link in your browser or you try to open the URL from the command line with xdg-open vnd.sun.star.webdav://... you get a message saying that this protocol is unknown.

What I expected was that LibreOffice would start and would open the document.

A workaround is to create a Desktop file with the following informations:
[Desktop Entry]
Name=WebDav LibreOffice
Exec=/usr/bin/libreoffice %u
Type=Application
Terminal=false
Categories=System;
MimeType=x-scheme-handler/vnd.sun.star.webdav;

and then to copy it in /usr/share/applications
Afterwards you have to run sudo update-desktop-database so that Ubuntu will take the new protocol into account.

A more definitive solution would be to modify the libreoffice-base Desktop file that comes with libreoffice (also located in /usr/share/applications) to add the MimeType properties described above.

Note: I have also filled a bug report in Ubuntu's launchpad, but the comment in the desktop file state that it is part of the LibreOffice project. As I'm not sure which project is able to fix this bug, I've open a bug report on both bugtrackers. Sorry for the mess!
Launchpad bug report: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1186702
Operating System: Ubuntu
Version: 4.0.2.2 release
Comment 1 tommy27 2014-07-01 03:57:57 UTC
is this issue still reproducible with current LibO 4.2.5.2 release?
Comment 2 tommy27 2014-10-24 07:03:17 UTC
It would be nice to have the bug retested on a newer LibO version (4.3.2.2 is out) than the version reported in the original report to know that the bug is still present -- sometimes a bug is inadvertently fixed over time and just never
closed.

If you have time please do the following:
1) Test to see if the bug is still present on a currently supported version of
LibreOffice 
2) If it is present please leave a comment telling us what version of
LibreOffice and your operating system.
3) If it is NOT present please set the bug to RESOLVED-WORKSFORME and leave a
short comment telling us your version and Operating System

Please DO NOT
1) Update the version field
2) Reply via email (please reply directly on the bug tracker)
3) Set the bug to RESOLVED - FIXED (this status has a particular meaning that
is not appropriate in this case)
Comment 3 Alex Thurgood 2015-01-03 17:39:08 UTC
Adding self to CC if not already on
Comment 4 tommy27 2015-02-27 21:12:28 UTC
please retest with LibO 4.3.6.2 or 4.4.1.2 and give update of the bug status
Comment 5 Rolf Leggewie 2015-08-12 17:33:33 UTC
Thank you for reporting this issue, Jonathan and thank you for retesting against 4.4.2.2 as documented in https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1186702/comments/9 (issue is still unresolved as per that comment)
Comment 6 Giuseppe Castagno (aka beppec56) 2015-08-13 16:14:40 UTC
Retest with:

- LO Version: 5.0.0.5, Build ID: 437e4abdf9e72fd0a6e6f8697a0e659bc77f9b10, TDF distribution;
- on a Linux X86_64 machine;
- on local Apache2 WebDAV server
(vnd.sun.star.webdav://192.168.1.40/webdav/Lorem_ipsum.odt)
- OS is Ubuntu 14.04 LTS;

the protocol vnd.sun.star.webdav worked.
Comment 7 tommy27 2015-08-14 07:56:10 UTC
@Giuseppe
so could we mark this as RESOLVED?

@Rolf
can you confirm it works using LibO 5.0.0.5?
Comment 8 Giuseppe Castagno (aka beppec56) 2015-08-14 08:17:52 UTC
(In reply to tommy27 from comment #7)
> @Giuseppe
> so could we mark this as RESOLVED?

I've just checked on Windows 7 32bit, LO 5.0.0.5,
LO build id: 1b1a90865e348b492231e1c451437d7a15bb262b, works as well.

I think this can be marked as RESOLVED.

Users can of course reopen it if they think it's the case.
Comment 9 tommy27 2015-08-14 15:57:29 UTC
ok RESOLVED WORKSFORME

feel free to REOPEN if other users still see this bug in LibO 5.0.0
Comment 10 vladislav.kuzma 2016-11-02 09:00:55 UTC
Linux Ubuntu: 16.04
LibreOffice: 5.1.4.2

After installing LibreOffice url links with protocol vnd.sun.star.webdav aren't bound to LibreOffice.
After appending libreoffice-startcenter.desktop file property MimeType with x-scheme-handler/vnd.sun.star.webdav, it starts opening url links correctly with LibreOffice.
Comment 11 Buovjaga 2016-11-02 12:01:46 UTC
Correcting status to NEW.
Comment 12 QA Administrators 2017-11-04 09:00:57 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2020-04-17 03:35:36 UTC Comment hidden (obsolete)
Comment 14 Mike Kaganski 2021-06-28 10:30:46 UTC
Our home-grown non-standard vnd.sun.star.webdav(s) schemes should be dropped in favor of the office URI schemes supported since 5.3 [1], hence this should be supposedly closed WONTFIX.

[1] https://wiki.documentfoundation.org/ReleaseNotes/5.3#Office_URI_Schemes_support
Comment 15 Samuel Mehrbrodt (allotropia) 2022-09-29 09:00:24 UTC
This has been fixed with 1bc454a2c0cb0dd69512d69ddd2123a44814197e .