<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 17/3/23 16:51, Jean-Max Reymond
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:87fa3188-172b-28fb-f54d-4d885bd8b7c3@ik.me">Le
      17/03/2023 à 09:28, Jean-Max Reymond a écrit :
      <br>
      <blockquote type="cite">Hi,
        <br>
        I have a very strange behavior with LibreOffice and Webdav
        <br>
        <br>
        I have a tomcat server under Ubuntu 22.04 that presents
        documents with the Webdav protocol.
        <br>
        <br>
        If my tomcat server is behind apache2, I can open and save a
        document with LibreOffice on Ubuntu 22.04 and MS Office on Mac.
        <br>
        <br>
        If my tomcat server is behind HAProxy, I can open a document
        with LibreOffice under Ubuntu 22.04 and MS Office on Mac but I
        can't save it with Ubuntu 22.04 while it's OK with MS Office on
        Mac
        <br>
        <br>
        The message is "Error while saving the template-CRA2 document:
        impossible to create the object in the directory
        <a class="moz-txt-link-freetext" href="https://cloud.exemple.com/WebDav/NESTOR/jmax">https://cloud.exemple.com/WebDav/NESTOR/jmax</a>" translated from
        french" "Erreur lors de l'enregistrement du document
        template-CRA2: impossible de créer l'objet dans le répertoire
        <a class="moz-txt-link-freetext" href="https://cloud.exemple.com/WebDav/NESTOR/jmax">https://cloud.exemple.com/WebDav/NESTOR/jmax</a>"
        <br>
        <br>
        I have traces in the tomcat servlet but I didn't notice an error
        code, all PROPFIND return 20x.
        <br>
        <br>
        I have checked that all Webdav directories on the server have
        write permissions.
        <br>
        <br>
        How do I know what is causing the Webdav error in Libreoffice?
        <br>
        <br>
        Thanks for your tips,
        <br>
      </blockquote>
      <br>
      I can reproduce with
      <br>
       sudo mount -t davfs
      <a class="moz-txt-link-freetext" href="https://cloud1.exemple.com/WebDav/NESTOR/GERARD">https://cloud1.exemple.com/WebDav/NESTOR/GERARD</a> /mnt/webdav
      <br>
      <br>
      and open a document with libreoffice in /mnt/webdav.
      <br>
      Open the document is OK but save failed with this message
      <br>
      <br>
      Error while saving document template-CRA2
      <br>
      The object is not accessible
      <br>
      Impossible to access the object
      <br>
      because the user rights are insufficient.
      <br>
      <br>
      It is ok with gedit, the text editor of my Ubuntu distribution.
      <br>
      <br>
      <br>
    </blockquote>
    <p>Hi Jean-Max</p>
    <p>Can you please test a recent master build, or 7.5.2 that was just
      released, or the upcoming 7.4.7?</p>
    <p>A couple of webDAV / curl fixes were made it in these versions.</p>
    <p>See reports:</p>
    <ul>
      <li><a class="moz-txt-link-freetext" href="https://bugs.documentfoundation.org/show_bug.cgi?id=154224">https://bugs.documentfoundation.org/show_bug.cgi?id=154224</a></li>
      <li><a class="moz-txt-link-freetext" href="https://bugs.documentfoundation.org/show_bug.cgi?id=152493">https://bugs.documentfoundation.org/show_bug.cgi?id=152493</a></li>
      <li><a class="moz-txt-link-freetext" href="https://bugs.documentfoundation.org/show_bug.cgi?id=154223">https://bugs.documentfoundation.org/show_bug.cgi?id=154223</a></li>
    </ul>
    <p>Thank you!<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Stéphane Guillou
Quality Assurance Analyst | The Document Foundation

Email: <a class="moz-txt-link-abbreviated" href="mailto:stephane.guillou@libreoffice.org">stephane.guillou@libreoffice.org</a>
Mobile (France): +33 7 79 67 18 72
Matrix: @stragu:matrix.org
Fediverse: @stragu@mastodon.indie.host
Web: <a class="moz-txt-link-freetext" href="https://stragu.gitlab.io/">https://stragu.gitlab.io/</a></pre>
  </body>
</html>