Bug 90204 - External links to other ods file - behaving strange after closing the file where the link refers to
Summary: External links to other ods file - behaving strange after closing the file wh...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-External-Datalink
  Show dependency treegraph
 
Reported: 2015-03-24 17:35 UTC by ville_blois
Modified: 2025-01-18 22:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
cell content (7.24 KB, image/png)
2025-01-18 22:12 UTC, Ian Eales
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ville_blois 2015-03-24 17:35:58 UTC
Bug reproduce steps:

- create 2 calc documents : 'source' and 'link'
- open them
- doc 'source' : in cell A1 enter 'AAAA'. Copy the cell.
- doc 'link' : paste special in A1 with 'Link' box checked. 
- save the 2 docs (don't close them)
- doc 'source' : in cell A1 enter 'BBBB' (don't save)
- doc 'link' : update (CTRL-SHIFT-F9). In A1 'AAAA' becomes 'BBBB' as it should. 
- doc 'source' : in cell A1 enter 'CCCC' then save and CLOSE this doc.
- doc 'link' : update (CTRL-SHIFT-F9). In A1 'BBBB' becomes … 'AAAA' !!!

- if you close and reopen 'link' and accept to update the links, then A1 contains the correct value ('CCCC').


I've tested this on:
- LibreOffice 4.4.1.2 – windows 8.1 64b
- LibreOffice 4.0.6.2 – windows 8.1 64b
- LibreOffice 3.6.5.2 – windows 7 64b
- LibreOffice 3.5.4.2 – debian linux 7.7
Comment 1 A (Andy) 2015-03-24 18:21:21 UTC
Reproducible with LO 4.4.1.2, Win 8.1
Comment 2 tommy27 2016-04-16 07:29:07 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2017-05-22 13:27:39 UTC Comment hidden (obsolete)
Comment 4 Cor Nouws 2019-02-26 21:35:22 UTC
(In reply to ville_blois from comment #0)
> Bug reproduce steps:
> 
> - create 2 calc documents : 'source' and 'link'
> - open them
> - doc 'source' : in cell A1 enter 'AAAA'. Copy the cell.
> - doc 'link' : paste special in A1 with 'Link' box checked. 
> - save the 2 docs (don't close them)
> - doc 'source' : in cell A1 enter 'BBBB' (don't save)
> - doc 'link' : update (CTRL-SHIFT-F9). In A1 'AAAA' becomes 'BBBB' as it
> should. 
I think that only works since the data from source is available in the programs memory. See
  https://bugs.documentfoundation.org/show_bug.cgi?id=114998#c11

> - doc 'source' : in cell A1 enter 'CCCC' then save and CLOSE this doc.
> - doc 'link' : update (CTRL-SHIFT-F9). In A1 'BBBB' becomes … 'AAAA' !!!
That is odd.

> - if you close and reopen 'link' and accept to update the links, then A1
> contains the correct value ('CCCC').

That is expected. Again see
https://bugs.documentfoundation.org/show_bug.cgi?id=114998#c11
Comment 5 Cor Nouws 2019-02-26 21:38:09 UTC
still tje same in Version: 6.3.0.0.alpha0+
Build ID: a798926550ab3ea8613f28a7be2672ebe9e7dfbe
CPU threads: 4; OS: Linux 4.15; UI render: GL; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-02-24_03:53:22
Locale: nl-NL (nl_NL.UTF-8); UI-Language: en-US
Calc: threaded
Comment 6 John Russell 2020-05-10 18:16:58 UTC
I can only update links with both documents open.
Comment 7 QA Administrators 2022-05-11 03:33:32 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2024-05-11 03:16:57 UTC Comment hidden (obsolete)
Comment 9 Ian Eales 2025-01-04 17:40:33 UTC
This bug has NOT been fixed.

In Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 48a6bac9e7e268aeb4c3483fcf825c94556d9f92
CPU threads: 20; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Two Sheets Data and Display
Display contains multiple sheets with graphs and dozens of named ranges and formulae.
Data contains multiples sheet with graphs and tables with hundreds of formulae

Display contains link ='file:///N:/Share/I../xxxxxxxxxxxxxxx/Weather/OR-LA-220.ods'#$'2025'.D4 to Display

Both sheets are opened by automation every day.

Entries cannot be entered in Data. F2 does not work. Edit > Cell Edit Mode must be clicked.

New value is entered.

Formula in Display is gone and the value entered in Data now appears in the cell.

Display was opened first with no delay.
This date Data now opens first w 5 second delay to Display.

Please do not ask for sample files. When someone is going to look at this request the files via secure and private communication.
Comment 10 Ian Eales 2025-01-18 22:12:15 UTC
Created attachment 198609 [details]
cell content
Comment 11 Ian Eales 2025-01-18 22:16:59 UTC
I had an unsaved workbook open

Simple calcs 13 col x 29 rows, half empty

Original B16 content: =HiV / AdjRng * AdjStep

Two more workbooks were opened via automation several hours later.

B16 is now:

=HiV / AdjRng * AdjStep'file:///N:/Share/Ian/2530WillowCrest/Weather/OR-LA-220.ods'#$'2025'.D2407:4'file:///N:/Share/Ian/2530WillowCrest/Weather/Florence_Rain.ods'#$Analysis.B115

Opening Florence_Rain.ods is not editable with the cursor in B16 in untitled.ods

Opening OR-LA-220.ods is not editable with the cursor in B16 in untitled.ods

Removing the 'file:///N:/Share/Ian/2530WillowCrest/Weather/OR-LA-220.ods'#$'2025'.D2407:4'file:///N:/Share/Ian/2530WillowCrest/Weather/Florence_Rain.ods'#$Analysis.B115 from untitled:B16 and hitting ESC in OR-LA-220.ods returns operation to normal.