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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to