<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Document Conversion with Nextcloud16"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126205">126205</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Document Conversion with Nextcloud16
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>andreas.gruhler@adfinis-sygroup.ch
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
A *.dotx word template can be converted with Nextcloud15 by:
 1. opening the template file in Collabora Online (read-only)
 2. renaming the file to *.docx in the input field on the top
 3. closing the file

The *.docx file is created from the template and visible in the Nextcloud file
list. However, this does not work in combination with Nextcloud16. The file is
not created from the template.

Please find the error log and a video attached.

Steps to Reproduce:
1. open a template file in Collabora Online (read-only)
2. rename the file to *.docx in the input field on the top
3. close the template file

Actual Results:
1. the template is opened read-only in Collabora Online
2. the filename changes to "*(2).dotx", but is not actually renamed to .docx
3. no *.docx is created from the template

Expected Results:
1. the template is opened read-only in Collabora Online
2. the filename changes to "*.docx"
3. the *.docx file is created from the template and visible in the Nextcloud
file list


Reproducible: Always


User Profile Reset: No



Additional Info:
attached:
- loolwsd error log
- video to reproduce the steps

version information:
- Nextcloud:         16.0.1.1
- loolwsd:           4.0.4 (git hash: 305832f)
- Collabora Office:  6.0-29 (git hash: 5a695a1)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>