WebDAV: LibreOffice does not handle vnd.sun.star.webdav protocol out-of-the-box

Bug #1186702 reported by Jonathan Pasquier
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LibreOffice
Fix Released
Medium
libreoffice (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libreoffice 1:4.0.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
Uname: Linux 3.8.0-23-generic i686
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
Date: Sun Jun 2 11:51:56 2013
InstallationDate: Installed on 2013-05-12 (20 days ago)
InstallationMedia: Ubuntu-GNOME 13.04 "Raring Ringtail" - Release i386 (20130424)
MarkForUpload: True
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jonathan Pasquier (jonathan-pasquier) wrote :
Revision history for this message
In , Jonathan Pasquier (jonathan-pasquier) wrote :

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

Revision history for this message
Jonathan Pasquier (jonathan-pasquier) wrote :

I have also filled a bug report in LibreOffice bug tracker as 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!
LibreOffice bug report: https://www.libreoffice.org/bugzilla/show_bug.cgi?id=65261

Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
In , Barta-c (barta-c) wrote :

is this issue still reproducible with current LibO 4.2.5.2 release?

Revision history for this message
In , Barta-c (barta-c) wrote :

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)

Revision history for this message
In , Iplaw67 (iplaw67) wrote :

Adding self to CC if not already on

Revision history for this message
In , Barta-c (barta-c) wrote :

please retest with LibO 4.3.6.2 or 4.4.1.2 and give update of the bug status

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Jonathan, can you please retest?

Changed in libreoffice (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
status: New → Incomplete
Revision history for this message
Jonathan Pasquier (jonathan-pasquier) wrote : Re: [Bug 1186702] Re: WebDAV: LibreOffice does not handle vnd.sun.star.webdav protocol out-of-the-box

Hi,

I have retested today on Ubuntu Gnome 15.04 with LO 4.4.2.2 and it's still
not working.
I had a quick look at the .desktop files in /usr/share/applications that
comes with LO and I saw that x-scheme-handler/vnd.sun.star.webdav does not
appear in the MimeType section.

2015-07-25 18:41 GMT+02:00 Rolf Leggewie <email address hidden>:

> Jonathan, can you please retest?
>
> ** Changed in: libreoffice (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: libreoffice (Ubuntu)
> Assignee: (unassigned) => Rolf Leggewie (r0lf)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1186702
>
> Title:
> WebDAV: LibreOffice does not handle vnd.sun.star.webdav protocol out-
> of-the-box
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/df-libreoffice/+bug/1186702/+subscriptions
>

Revision history for this message
In , Libreoffice-4 (libreoffice-4) wrote :

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)

Revision history for this message
In , Giuseppe-castagno (giuseppe-castagno) wrote :

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.

Revision history for this message
In , Barta-c (barta-c) wrote :

@Giuseppe
so could we mark this as RESOLVED?

@Rolf
can you confirm it works using LibO 5.0.0.5?

Revision history for this message
In , Giuseppe-castagno (giuseppe-castagno) wrote :

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

Revision history for this message
In , Barta-c (barta-c) wrote :

ok RESOLVED WORKSFORME

feel free to REOPEN if other users still see this bug in LibO 5.0.0

Changed in df-libreoffice:
status: New → Invalid
Revision history for this message
In , Vladislav-kuzma (vladislav-kuzma) wrote :

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.

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

Correcting status to NEW.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

marking as fixed as per upstream BTS for xenial and beyond

Changed in libreoffice (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
jlord87 (moro-87) wrote :

I'm on Ubuntu 16.10 with latest libreoffice from official repository and I'm still dealing with this bug.

Or being honest, to a similar one (?) because I'm dealing with the handler

vnd.sun.star.webdavs

that i believe is due to the secured protocol used.

Adding the handler according to this bug report solved my problem:
https://bugs.documentfoundation.org/show_bug.cgi?id=65261

Revision history for this message
In , Qa-admin-q (qa-admin-q) wrote :

** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3
. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

Changed in df-libreoffice:
status: Invalid → Confirmed
Revision history for this message
In , Qa-admin-q (qa-admin-q) wrote :

Dear Jonathan Pasquier,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3
. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

Revision history for this message
In , Mikekaganski (mikekaganski) wrote :

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

Rolf Leggewie (r0lf)
Changed in libreoffice (Ubuntu):
assignee: Rolf Leggewie (r0lf) → nobody
Revision history for this message
In , Samuel-mehrbrodt-6 (samuel-mehrbrodt-6) wrote :

This has been fixed with 1bc454a2c0cb0dd69512d69ddd2123a44814197e .

Changed in df-libreoffice:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.