<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 - REGRESSION: Overwriting a file open in LibreOffice succeeds in recent builds, should fail"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=141279">141279</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>REGRESSION: Overwriting a file open in LibreOffice succeeds in recent builds, should fail
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.2.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>mattkse@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
If you save a file that's already open in LibreOffice using a different program
such as Notepad, the save operation is allowed by the OS and overwrites the
file.  This is not allowed when the file is open using LibreOffice version
7.1.1.2; the saving program gives an error stating that the file can't be
saved.

Steps to Reproduce:
1. Create a file "test.ods" and open in it LibreOffice, add some edits and save
it
2. Open a text editor such as Notepad and save a blank document overwriting
"test.ods" (save as type "All Files"), and observe no error dialog upon saving
3. In LibreOffice, do File->Reload and observe blank document

Actual Results:
Blank document due to overwrite

Expected Results:
Document should keep edits and not be overwritten


Reproducible: Always


User Profile Reset: No



Additional Info:
Observed on Windows 10 64-bit</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>