You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jean-Max Reymond <jm...@ik.me.INVALID> on 2023/11/28 22:27:07 UTC
webdav and libreoffice
Hi,
I have an application and a webdav servlet with tomcat.
I am using libreoffice to edit and save files.
the command is:
/usr/lib/libreoffice/program/soffice.bin
ms-excel:ofe|u|https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
--splash-pipe=5
With tomcat 9.0.31 and Ubuntu 20.04, all is OK, editing and saving
With tomcat 9.0.58 and Ubuntu 22.04, failed to save the document with
message : Error saving document Documents.xls
Unable to create object in directory
https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
With tomcat 9.0.69 and centos 9, same as tomcat 9.0.58
For all the tomcat versions, it is OK with MS Office (Word, Excel, ...)
What happens between tomcat 9.0.31 and tomcat9.0.58 ?
Thanks for your tips,
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: webdav and libreoffice
Posted by Jean-Max Reymond <jm...@ik.me.INVALID>.
Le 30/11/2023 à 00:05, Mark Thomas a écrit :
> On 29/11/2023 21:46, Christopher Schultz wrote:
>> Mark,
>>
>> On 11/29/23 14:09, Mark Thomas wrote:
>>> It was this change:
>>>
>>> https://github.com/apache/tomcat/commit/147fee447e27ec14e3001d9c727db1dcd4cb930c
>>>
>>> Reason phrase is an optional element of the HTTP response. This looks
>>> like a bug in whichever WebDAV client library is being used by
>>> LibreOffice.
>>>
>>> I'll look into seeing what our options are for addressing this in the
>>> interim. I'll note though that, generally, we don't implement
>>> work-arounds for broken clients - especially ones no-one noticed for
>>> 3+ years.
>
> A quick attempt at a hack to just put any text as the reason phrase
> didn't work. It looks like the client is looking for a specific reason
> phrase.
>
>> The good news is that LibreOffice isn't Microsoft, whose
>> implementation of "WebDAV [fill-in-the-blank-client]" makes me rage
>> with the heat of a thousand suns. They are likely to take this report
>> seriously, if not expediciously, and hopefully it will get fixed.
>>
>> If it's not too complicated, maybe someone from this community could
>> even propose a patch for the bug. Jean-Max, is that something you
>> could consider doing?
>
> +1 that is likely to be the quickest way to a solution.
>
I have reopened the bug report
https://bugs.documentfoundation.org/show_bug.cgi?id=155312
thanks for your efforts
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: webdav and libreoffice
Posted by Mark Thomas <ma...@apache.org>.
On 29/11/2023 21:46, Christopher Schultz wrote:
> Mark,
>
> On 11/29/23 14:09, Mark Thomas wrote:
>> It was this change:
>>
>> https://github.com/apache/tomcat/commit/147fee447e27ec14e3001d9c727db1dcd4cb930c
>>
>> Reason phrase is an optional element of the HTTP response. This looks
>> like a bug in whichever WebDAV client library is being used by
>> LibreOffice.
>>
>> I'll look into seeing what our options are for addressing this in the
>> interim. I'll note though that, generally, we don't implement
>> work-arounds for broken clients - especially ones no-one noticed for
>> 3+ years.
A quick attempt at a hack to just put any text as the reason phrase
didn't work. It looks like the client is looking for a specific reason
phrase.
> The good news is that LibreOffice isn't Microsoft, whose implementation
> of "WebDAV [fill-in-the-blank-client]" makes me rage with the heat of a
> thousand suns. They are likely to take this report seriously, if not
> expediciously, and hopefully it will get fixed.
>
> If it's not too complicated, maybe someone from this community could
> even propose a patch for the bug. Jean-Max, is that something you could
> consider doing?
+1 that is likely to be the quickest way to a solution.
Mark
>
> -chris
>
>> On 29/11/2023 14:08, Mark Thomas wrote:
>>> On 28/11/2023 22:27, Jean-Max Reymond wrote:
>>>> Hi,
>>>> I have an application and a webdav servlet with tomcat.
>>>> I am using libreoffice to edit and save files.
>>>> the command is:
>>>> /usr/lib/libreoffice/program/soffice.bin
>>>> ms-excel:ofe|u|https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls --splash-pipe=5
>>>>
>>>> With tomcat 9.0.31 and Ubuntu 20.04, all is OK, editing and saving
>>>> With tomcat 9.0.58 and Ubuntu 22.04, failed to save the document
>>>> with message : Error saving document Documents.xls
>>>> Unable to create object in directory
>>>> https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
>>>> With tomcat 9.0.69 and centos 9, same as tomcat 9.0.58
>>>>
>>>> For all the tomcat versions, it is OK with MS Office (Word, Excel, ...)
>>>> What happens between tomcat 9.0.31 and tomcat9.0.58 ?
>>>
>>> https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html
>>>
>>> I am able to reproduce this with 11.0.x. I suspect one of the changes
>>> to more strictly follow the HTTP specifications is to blame. I'll do
>>> some debugging and report back.
>>>
>>> Mark
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: webdav and libreoffice
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Mark,
On 11/29/23 14:09, Mark Thomas wrote:
> It was this change:
>
> https://github.com/apache/tomcat/commit/147fee447e27ec14e3001d9c727db1dcd4cb930c
>
> Reason phrase is an optional element of the HTTP response. This looks
> like a bug in whichever WebDAV client library is being used by LibreOffice.
>
> I'll look into seeing what our options are for addressing this in the
> interim. I'll note though that, generally, we don't implement
> work-arounds for broken clients - especially ones no-one noticed for 3+
> years.
The good news is that LibreOffice isn't Microsoft, whose implementation
of "WebDAV [fill-in-the-blank-client]" makes me rage with the heat of a
thousand suns. They are likely to take this report seriously, if not
expediciously, and hopefully it will get fixed.
If it's not too complicated, maybe someone from this community could
even propose a patch for the bug. Jean-Max, is that something you could
consider doing?
-chris
> On 29/11/2023 14:08, Mark Thomas wrote:
>> On 28/11/2023 22:27, Jean-Max Reymond wrote:
>>> Hi,
>>> I have an application and a webdav servlet with tomcat.
>>> I am using libreoffice to edit and save files.
>>> the command is:
>>> /usr/lib/libreoffice/program/soffice.bin
>>> ms-excel:ofe|u|https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls --splash-pipe=5
>>>
>>> With tomcat 9.0.31 and Ubuntu 20.04, all is OK, editing and saving
>>> With tomcat 9.0.58 and Ubuntu 22.04, failed to save the document with
>>> message : Error saving document Documents.xls
>>> Unable to create object in directory
>>> https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
>>> With tomcat 9.0.69 and centos 9, same as tomcat 9.0.58
>>>
>>> For all the tomcat versions, it is OK with MS Office (Word, Excel, ...)
>>> What happens between tomcat 9.0.31 and tomcat9.0.58 ?
>>
>> https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html
>>
>> I am able to reproduce this with 11.0.x. I suspect one of the changes
>> to more strictly follow the HTTP specifications is to blame. I'll do
>> some debugging and report back.
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: webdav and libreoffice
Posted by Mark Thomas <ma...@apache.org>.
It was this change:
https://github.com/apache/tomcat/commit/147fee447e27ec14e3001d9c727db1dcd4cb930c
Reason phrase is an optional element of the HTTP response. This looks
like a bug in whichever WebDAV client library is being used by LibreOffice.
I'll look into seeing what our options are for addressing this in the
interim. I'll note though that, generally, we don't implement
work-arounds for broken clients - especially ones no-one noticed for 3+
years.
Mark
On 29/11/2023 14:08, Mark Thomas wrote:
> On 28/11/2023 22:27, Jean-Max Reymond wrote:
>> Hi,
>> I have an application and a webdav servlet with tomcat.
>> I am using libreoffice to edit and save files.
>> the command is:
>> /usr/lib/libreoffice/program/soffice.bin
>> ms-excel:ofe|u|https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls --splash-pipe=5
>>
>> With tomcat 9.0.31 and Ubuntu 20.04, all is OK, editing and saving
>> With tomcat 9.0.58 and Ubuntu 22.04, failed to save the document with
>> message : Error saving document Documents.xls
>> Unable to create object in directory
>> https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
>> With tomcat 9.0.69 and centos 9, same as tomcat 9.0.58
>>
>> For all the tomcat versions, it is OK with MS Office (Word, Excel, ...)
>> What happens between tomcat 9.0.31 and tomcat9.0.58 ?
>
> https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html
>
> I am able to reproduce this with 11.0.x. I suspect one of the changes to
> more strictly follow the HTTP specifications is to blame. I'll do some
> debugging and report back.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: webdav and libreoffice
Posted by Mark Thomas <ma...@apache.org>.
On 28/11/2023 22:27, Jean-Max Reymond wrote:
> Hi,
> I have an application and a webdav servlet with tomcat.
> I am using libreoffice to edit and save files.
> the command is:
> /usr/lib/libreoffice/program/soffice.bin
> ms-excel:ofe|u|https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls --splash-pipe=5
>
> With tomcat 9.0.31 and Ubuntu 20.04, all is OK, editing and saving
> With tomcat 9.0.58 and Ubuntu 22.04, failed to save the document with
> message : Error saving document Documents.xls
> Unable to create object in directory
> https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
> With tomcat 9.0.69 and centos 9, same as tomcat 9.0.58
>
> For all the tomcat versions, it is OK with MS Office (Word, Excel, ...)
> What happens between tomcat 9.0.31 and tomcat9.0.58 ?
https://nightlies.apache.org/tomcat/tomcat-9.0.x/docs/changelog.html
I am able to reproduce this with 11.0.x. I suspect one of the changes to
more strictly follow the HTTP specifications is to blame. I'll do some
debugging and report back.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: webdav and libreoffice
Posted by Jean-Max Reymond <jm...@ik.me.INVALID>.
centos9,
9.0.31 OK
9.0.36 KO
9.0.58 KO
9.0.69 KO
Le 29/11/2023 à 06:21, Terence M. Bandoian a écrit :
> Have you tried with Tomcat 9.0.31 and Ubuntu 22.04? Or Tomcat 9.0.31
> and CentOS 9?
>
> -Terence
>
> On 11/28/2023 9:00 PM, Jean-Max Reymond wrote:
>> Libreoffice cannot write the document with tomcat 9.0.58 and tomcat
>> 9.0.68, but it is ok with tomcat 9.0.31
>> debug mode shows a lot of PROPFIND but no crash.
>>
>> Le 29/11/2023 à 00:53, Terence M. Bandoian a écrit :
>>> What is the error? Log? Stack trace?
>>>
>>> -Terence Bandoian
>>>
>>> On 11/28/2023 4:27 PM, Jean-Max Reymond wrote:
>>>> Hi,
>>>> I have an application and a webdav servlet with tomcat.
>>>> I am using libreoffice to edit and save files.
>>>> the command is:
>>>> /usr/lib/libreoffice/program/soffice.bin
>>>> ms-excel:ofe|u|https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls --splash-pipe=5
>>>>
>>>> With tomcat 9.0.31 and Ubuntu 20.04, all is OK, editing and saving
>>>> With tomcat 9.0.58 and Ubuntu 22.04, failed to save the document
>>>> with message : Error saving document Documents.xls
>>>> Unable to create object in directory
>>>> https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
>>>> With tomcat 9.0.69 and centos 9, same as tomcat 9.0.58
>>>>
>>>> For all the tomcat versions, it is OK with MS Office (Word, Excel, ...)
>>>> What happens between tomcat 9.0.31 and tomcat9.0.58 ?
>>>> Thanks for your tips,
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: webdav and libreoffice
Posted by "Terence M. Bandoian" <te...@tmbsw.com>.
Have you tried with Tomcat 9.0.31 and Ubuntu 22.04? Or Tomcat 9.0.31
and CentOS 9?
-Terence
On 11/28/2023 9:00 PM, Jean-Max Reymond wrote:
> Libreoffice cannot write the document with tomcat 9.0.58 and tomcat
> 9.0.68, but it is ok with tomcat 9.0.31
> debug mode shows a lot of PROPFIND but no crash.
>
> Le 29/11/2023 à 00:53, Terence M. Bandoian a écrit :
>> What is the error? Log? Stack trace?
>>
>> -Terence Bandoian
>>
>> On 11/28/2023 4:27 PM, Jean-Max Reymond wrote:
>>> Hi,
>>> I have an application and a webdav servlet with tomcat.
>>> I am using libreoffice to edit and save files.
>>> the command is:
>>> /usr/lib/libreoffice/program/soffice.bin
>>> ms-excel:ofe|u|https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
>>> --splash-pipe=5
>>>
>>> With tomcat 9.0.31 and Ubuntu 20.04, all is OK, editing and saving
>>> With tomcat 9.0.58 and Ubuntu 22.04, failed to save the document
>>> with message : Error saving document Documents.xls
>>> Unable to create object in directory
>>> https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
>>> With tomcat 9.0.69 and centos 9, same as tomcat 9.0.58
>>>
>>> For all the tomcat versions, it is OK with MS Office (Word, Excel, ...)
>>> What happens between tomcat 9.0.31 and tomcat9.0.58 ?
>>> Thanks for your tips,
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
Re: webdav and libreoffice
Posted by Jean-Max Reymond <jm...@ik.me.INVALID>.
Libreoffice cannot write the document with tomcat 9.0.58 and tomcat
9.0.68, but it is ok with tomcat 9.0.31
debug mode shows a lot of PROPFIND but no crash.
Le 29/11/2023 à 00:53, Terence M. Bandoian a écrit :
> What is the error? Log? Stack trace?
>
> -Terence Bandoian
>
> On 11/28/2023 4:27 PM, Jean-Max Reymond wrote:
>> Hi,
>> I have an application and a webdav servlet with tomcat.
>> I am using libreoffice to edit and save files.
>> the command is:
>> /usr/lib/libreoffice/program/soffice.bin
>> ms-excel:ofe|u|https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls --splash-pipe=5
>>
>> With tomcat 9.0.31 and Ubuntu 20.04, all is OK, editing and saving
>> With tomcat 9.0.58 and Ubuntu 22.04, failed to save the document with
>> message : Error saving document Documents.xls
>> Unable to create object in directory
>> https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
>> With tomcat 9.0.69 and centos 9, same as tomcat 9.0.58
>>
>> For all the tomcat versions, it is OK with MS Office (Word, Excel, ...)
>> What happens between tomcat 9.0.31 and tomcat9.0.58 ?
>> Thanks for your tips,
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: webdav and libreoffice
Posted by "Terence M. Bandoian" <te...@tmbsw.com>.
What is the error? Log? Stack trace?
-Terence Bandoian
On 11/28/2023 4:27 PM, Jean-Max Reymond wrote:
> Hi,
> I have an application and a webdav servlet with tomcat.
> I am using libreoffice to edit and save files.
> the command is:
> /usr/lib/libreoffice/program/soffice.bin
> ms-excel:ofe|u|https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
> --splash-pipe=5
>
> With tomcat 9.0.31 and Ubuntu 20.04, all is OK, editing and saving
> With tomcat 9.0.58 and Ubuntu 22.04, failed to save the document with
> message : Error saving document Documents.xls
> Unable to create object in directory
> https://cloud.example.com/WebDav/NESTOR/GERARD/Documents.xls
> With tomcat 9.0.69 and centos 9, same as tomcat 9.0.58
>
> For all the tomcat versions, it is OK with MS Office (Word, Excel, ...)
> What happens between tomcat 9.0.31 and tomcat9.0.58 ?
> Thanks for your tips,
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>