Bug 89353 - OLE object embedded, and not linked, when file saved as flat odt
Summary: OLE object embedded, and not linked, when file saved as flat odt
Status: RESOLVED DUPLICATE of bug 83142
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.6.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OLE-Objects ODF-Flat
  Show dependency treegraph
 
Reported: 2015-02-12 21:20 UTC by Andrew Watson
Modified: 2023-04-08 09:41 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Watson 2015-02-12 21:20:22 UTC
Insert -> Object -> OLE Object option presents dialogue box with "Create New" and "Create from file" option. When "Create from file" is selected, a "Link to File" checkbox appears. However, it seems to have no effect - the selected file is embedded (not linked) regardless of whether the box is ticked.

Saving the main file as FODT and checking it with text editor confirms that it contains no reference to the linked file regardless of checkbox setting.

Editing the "linked" file does not ever change the copy in the main file, even if the main file is closed and opened again.
Comment 1 Jean-Baptiste Faure 2015-02-14 15:56:35 UTC
Works as expected in LibreOffice 4.4.2.0.0+ built at home under Ubuntu 14.10 x86-64.

Please could you try again with current stable version (4.3.5 and/or 4.4.0) ?
Did you check when saving the file as .odt instead of .fodt ?

Set status to NEEDINFO. Please set it back to UNCONFIRMED once you have provided requested information.

Best regards. JBF
Comment 2 Andrew Watson 2015-02-19 15:32:03 UTC
Now tested under both LO 4.0.6.2 and LO 4.4.1.1. The behaviour is exactly as reported when the main file is saved as FODT - the "Linked" file is actually embedded, regardless of whether the "Link to File" check-box was ticked.

If the main file is saved as ODT, changing the linked file and then re-opening the main file gives this warning dialogue box:

"This document contains one or more links to external data.

Would you like to change the document, and update all links
to get the most recent data? Yes/No"

However, this warning does not appear when the main file is an FODT file, and no subsequent changes to the linked file appear in the main file.

LO 4.0.6.2 running under MacOS 10.5.8, LO 4.4.1.1 running under MacOS 10.9.x

Set status back to "Unconfirmed", as requested.
Comment 3 Alex Thurgood 2015-02-20 15:33:46 UTC
Changed title per findings in comment 2
Comment 4 Alex Thurgood 2015-02-20 15:38:58 UTC
Confirming on LO 4341 OSX 10.10.2
Comment 5 QA Administrators 2016-02-21 08:35:11 UTC Comment hidden (obsolete)
Comment 6 Andrew Watson 2016-05-22 20:22:33 UTC
Responding to Comment 5, asking for confirmation that bug is still present on most recent version of LO.

I can confirm that this behaviour is unchanged on LO 5.2.0.0.alpha1. "Link" option under Insert>Object>OLE Object is ignored if the file is saved as FODT, but is honoured if the file is saved as ODT.

Tested under Linux Mint 17.1 xfce.
Comment 7 QA Administrators 2017-09-01 11:15:53 UTC Comment hidden (obsolete)
Comment 8 Andrew Watson 2018-02-09 14:55:52 UTC
Responding to Comment 7, asking for confirmation that bug is still present on most recent version of LO.

I can confirm that this behaviour is unchanged on LO 6.0.1.1 (Build ID 60bfb1526849283ce2491346ed2aa51c465abfe6). "Link" option under Insert>Object>OLE Object is ignored if the file is saved as FODT, but is honoured if the file is saved as ODT.

Tested under MacOS 10.11.6.
Comment 9 eisa01 2018-06-15 22:02:14 UTC
According to comment #6 this also happens on Windows, so setting OS to all

Tried to replicate on LO 3.3, but it says JRE is required to save as fodt and I get an error message, so someone with Linux should test that
Comment 10 QA Administrators 2019-06-16 02:57:32 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2021-06-16 03:56:09 UTC Comment hidden (obsolete)
Comment 12 Andrew Watson 2022-04-07 16:13:03 UTC
Bug is still present in:

Version: 7.3.2.2 / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Calc: threaded

"Link" option under Insert>Object>OLE Object is ignored if the file is saved as FODT, but is honoured if the file is saved as ODT.
Comment 13 Stéphane Guillou (stragu) 2023-04-08 09:41:08 UTC
Thanks everyone. Already tracked in bug 83142.

*** This bug has been marked as a duplicate of bug 83142 ***