Created attachment 139377 [details] Example data source file made with LO 5.4 These spreadsheets were created with LibreOffice 5.4.3.2 and LibreOffice Dev. 6.0. The main problem here is the cell reference which did not work correctly if we want to refer to an external file. We got an Error (507) message in the cell, if we use the Excel A1 Formula Syntax. Steps to reproduce: 1. Create a new spreadsheet with LibreOffice Calc 5.4 2. Click on Tools then choose the options. 3. In the Option set the LibreOffice Calc Formula options just like as you can see at the attached Formula_syntax_setting.PNG file. 4. Fill the A1 cells with some simple data. 5. Save the file as “Cell_reference_source.xlsx” or something like that. 6. Create a new spreadsheet with LibreOffice 5.4 and save as “Cell_reference_target.xlsx”. 7. In the “Cell_reference_target.xlsx” file click on the B1 cell and then click on the “equal sign” or “Function button”. After that click on the “Cell_reference_source.xlsx” file’s A1 cell and hit Enter. Here is the example code: =['file:///c:/users/teszt_admin/desktop/lo-4-hivatkozasok/error-507/cell_reference_source.xlsx']munkalap1!a1 Actual results: We got an Error:507 code in the “Cell_reference_target.xlsx” file’s B1 cell. If we save the file and reload the spreadsheet the data will be updated and the Error:507 code will disappear. But If we modify the “Cell_reference_source.xlsx” file’s A1 Cell and save it, the data will not updated in the “Cell_reference_target.xlsx” file even if we reload the file. If we click in the function (refresh the link manual) and hit enter we got an Error:507 code again. Expected results: We should not receive an error code in the cell, because the link and the syntax is correct. The links should be updated when we got the “This file contains links to another files Should they be updated?” message and we click Yes. Version: 5.4.3.2 Build ID: 92a7159f7e4af62137622921e809f8546db437e5 CPU threads: 4; OS: Windows 6.1; UI render: default; Locale: hu-HU (hu_HU); Calc: group Version: 6.0.0.1.0+ Build ID: c678dc5309741097d9b0265f03dd279a8794d256 CPU threads: 4; OS: Windows 6.1; UI render: default; TinderBox: Win-x86@42, Branch:libreoffice-6-0, Time: 2017-12-28_04:21:33 Locale: hu-HU (hu_HU); Calc: group
Created attachment 139378 [details] Example file with reference to the external data source file
Created attachment 139379 [details] The example files in Calc side by side
Created attachment 139380 [details] Formula syntax settings used to test the bug
Confirmed with Ubuntu 16.04 LibreOffice 5.4
With latest changes from master, the Error:507 is not appearing anymore. Instead the #REF is displayed. It could be caused by another issue (wrong path). @Gabor Could you please confirm it with latest Daily Build?
#ref error and message "The following external file could not be loaded. Data linked from this file did not get updated. file:///c:/users/teszt_admin/desktop/lo-4-hivatkozasok/error-507/cell_reference_source.xlsx" Version: 6.1.0.0.alpha0+ Build ID: d30eefb677b446886f7b5bab6de93d489ba63529 CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-02-06_16:54:53 Locale: nl-BE (en_US.UTF-8); Calc: grou
Putting back to NEW
Created attachment 139869 [details] Example file with reference to the external data source file - from Excel13 This is just for reference.
Dear Gabor Kelemen, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I can no longer reproduce this with Calc formula syntax even in: Version: 6.0.0.3 Build ID: 64a0f66915f38c6217de274f0aa8e15618924765 CPU threads: 4; OS: Windows 10.0; UI render: default; Locale: en-US (hu_HU); Calc: CL When attachment 139377 [details] is opened, a new reference is made to it in a new file and that is saved as xlsx, then reloaded. The reference is correct, updated value in the source file can be retrieved with a recalculation (F9). In 5.4 it has duplicated the drive letter and I got an error "The following external file could not be loaded. Data linked from this file did not get updated. file:///C:/C:/Users/kelemengabo/Downloads/Cell_reference_source.xlsx". With Excel formula syntax, it was bad for longer with Err:507 shown in the editor until 6.3: https://git.libreoffice.org/core/+/6e68110a916500a92a15357b6bf90e62dc631a01 commit 6e68110a916500a92a15357b6bf90e62dc631a01 [log] author Eike Rathke <erack@redhat.com> Thu Jun 13 20:25:49 2019 +0200 committer Eike Rathke <erack@redhat.com> Fri Jun 14 02:49:21 2019 +0200 Resolves: tdf#113541 handle external reference in Excel syntax *** This bug has been marked as a duplicate of bug 113541 ***