<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 - Link to cell in external document doesn't work (wrong file URL)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121472">121472</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Link to cell in external document doesn't work (wrong file URL)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.0.6.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Mac OS X (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>Calc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>michael.kallweitt@posteo.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When opening a calc document (xlsx format) containing a cell which references
to another calc document, the cell won't update due to a malformed file name
(URL). This is the error message:

Die folgende externe Datei konnte nicht geladen werden. Die verknüpften Daten
aus dieser Datei wurden nicht aktualisiert.

file:///Users/michael/Nextcloud/Documents/Projekte/2018/Paulusviertel/Orga/Users/michael/Nextcloud/Documents/Projekte/2018/Paulusviertel/Orga/Kopie
von Leerformular.xls

For some reason in the URL above, the part containing the target directory
('/Users/…/Orga') is duplicated.

Steps to Reproduce:
1. Create a Calc document with a reference to a cell in another Calc document
2. Save document in XLS format (Microsoft Excel 2007-2013 XML)
3. Close document window
4. Open previously saved document
5. Confirm request to update external values

Actual Results:
Die folgende externe Datei konnte nicht geladen werden. Die verknüpften Daten
aus dieser Datei wurden nicht aktualisiert.

file:///Users/michael/Nextcloud/Documents/Projekte/2018/Paulusviertel/Orga/Users/michael/Nextcloud/Documents/Projekte/2018/Paulusviertel/Orga/Kopie
von Leerformular.xls

Expected Results:
Cell values should be updated without error


Reproducible: Always


User Profile Reset: No



Additional Info:</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>