<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 - FILESAVE XLSX External cell reference path is extended by user home dirs path"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137937">137937</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FILESAVE XLSX External cell reference path is extended by user home dirs path
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>4.4.0.3 release
</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>Keywords</th>
<td>bibisected, bisected, filter:xlsx, implementationError
</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>libreoffice@nisz.hu
</td>
</tr>
<tr>
<th>CC</th>
<td>nemeth@numbertext.org, szucs.attila3@nisz.hu
</td>
</tr>
<tr>
<th>Blocks</th>
<td>108917
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=166941" name="attach_166941" title="Example file from Calc with cell references to c:\TEMP">attachment 166941</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=166941&action=edit" title="Example file from Calc with cell references to c:\TEMP">[details]</a></span>
Example file from Calc with cell references to c:\TEMP
Attached ODS file contains a cell reference to a file in C:\TEMP directory.
When this file is saved to XLSX format the path to the file is extended with
the users home directory name, i.e.
='file:///C:/TEMP/EDATAE13_B.xlsx'#$Munka1.A1 becomes
='file:///C:/Users/kelemengabo/Documents/TEMP/EDATAE13_B.xlsx'#$Munka1.A1
This is similar to the situation mentioned here for Linux:
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Link to cell in external document doesn't work (wrong file URL)"
href="show_bug.cgi?id=121472#c5">https://bugs.documentfoundation.org/show_bug.cgi?id=121472#c5</a>
Steps to reproduce:
1. Open attached file
2. Save as XLSX
3. Reopen
Actual results:
Cell reference path changed, now it contains thes users own directories path.
Expected results:
Correct cell references.
LibreOffice details:
Version: 7.1.0.0.alpha1+ (x64)
Build ID: ec1f4d3253963ac16d638734ac70dde033e82154
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Also happens way back to:
Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale: hu_HU
In 4.3 the exported reference was:
=['file:///c:/temp/edatae13_b.xlsx']munka1!a1
Which had a correct path, but it was otherwise incorrect and giving Err:509
error.
Additional Information:
Bibisected using bibisect-win32-4.4 to:
<a href="https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=5c37960d9507fac206f0b90d36f778db9fe2b6a5..41e4a607b00f446eeaebf8f59c957a1a580c9517">https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=5c37960d9507fac206f0b90d36f778db9fe2b6a5..41e4a607b00f446eeaebf8f59c957a1a580c9517</a>
of which the most likely starting commit is the initial implementation of this
feature:
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=8c23a767d926d8d08213f5e2f8e81775c653cbd7">https://cgit.freedesktop.org/libreoffice/core/commit/?id=8c23a767d926d8d08213f5e2f8e81775c653cbd7</a>
write OOXML externalReferences, externalLinks, fdo#45286</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_NEW "
title="NEW - [META] Cell references bugs and enhancements"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108917">Bug 108917</a>] [META] Cell references bugs and enhancements
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>