Bug 64747 - EDITING: INDIRECT() function does not work linking range names in another file
Summary: EDITING: INDIRECT() function does not work linking range names in another file
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.0.3.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-19 00:06 UTC by m_a_riosv
Modified: 2016-07-09 13:59 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Ods file with a single named range. (8.78 KB, application/x-vnd.oasis.opendocument.spreadsheet)
2015-06-11 23:12 UTC, m_a_riosv
Details
Ods file with a link to the other attached. (9.07 KB, application/x-vnd.oasis.opendocument.spreadsheet)
2015-06-11 23:20 UTC, m_a_riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m_a_riosv 2013-05-19 00:06:46 UTC
From a question in Ask:
http://ask.libreoffice.org/en/question/17677/indirect-and-named-ranges-in-another-file/

Win7x64 Ultimate.
Version 4.0.3.3 (Build ID: 0eaa50a932c8f2199a615e1eb30f7ac74279539)

- Created a link to another file with range name, works as expected.
=+'file:///C:/Users/_Test/Untitled1.ods'#Range

- The same link inside INDIRECT() function does not work.
=INDIRECT("'file:///C:/Users/_Test/Untitled1.ods'#Range
")
Comment 1 Joel Madero 2014-05-05 03:54:31 UTC
Thank you for reporting this issue! I have been able to confirm the issue on:
Version: 4.3.0.0.alpha0
Date:   Thu Apr 24 21:43:16 2014 +0300
Platform :Ubuntu 14.04
DE: GNOME3

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
As I've been able to confirm this problem I am marking as:

New (confirmed)
Normal - can prevent professional quality work
Medium - default seems appropriate

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage and join us on freenode at #libreoffice-qa

There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists/. 

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material
Comment 2 QA Administrators 2015-06-08 14:42:53 UTC
** Please read this message in its entirety before responding **

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 on a currently supported version of LibreOffice (4.4.3 or later)
   https://www.libreoffice.org/download/

   If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
 If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

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)

http://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: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2015-06-08
Comment 3 m_a_riosv 2015-06-11 23:12:41 UTC
Created attachment 116473 [details]
Ods file with a single named range.
Comment 4 m_a_riosv 2015-06-11 23:20:40 UTC
Created attachment 116474 [details]
Ods file with a link to the other attached.

Opening both attached files.

Update the link opening the Untitled11.dos.

Link works fine.

Trying to change the '$Sheet1.A1' part of the link change the formula by 'datarange':

from
='file:///G:/Users/MARV/Downloads/_Test/Untitled12.ods'#$Sheet1.A1
to
='file:///G:/Users/MARV/Downloads/_Test/Untitled12.ods'#file:///G:/Users/MARV/Downloads/_Test/Untitled12.ods

Now not possible use the name of the range even without INDIRECT().
Comment 5 Fran 2016-05-30 18:35:31 UTC
The bug is present in LO 5.1.3.2 on Windows 7. LO 4.4.5.2 on Windows7 works fine.
Comment 6 m_a_riosv 2016-07-09 13:59:07 UTC
Maybe solved with #96915 patches.

Works for me:
Win10x64
Version: 5.2.0.2 (x64)
Build ID: a7567a46e5d2953c320b13eb88a3981c4f9bd1e0
CPU Threads: 4; OS Version: Windows 6.19; UI Render: GL;