Issue 115111 - Cannot "Break Link" to an OLE object
Summary: Cannot "Break Link" to an OLE object
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 3.2.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 16:19 UTC by josephervin
Modified: 2017-05-20 10:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
simple odt file with link to odg file that demonstrates the bug (13.31 KB, text/plain)
2010-10-18 16:19 UTC, josephervin
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description josephervin 2010-10-18 16:19:18 UTC
Once a link is created to an .odg draw object, the link cannot be broken.  The
link shows up in the "Edit Link" dialog, and can be selected, and the "Break
Link" button pressed with apparent success, but when the file is saved and
re-opened, the link remains.

This bug makes impossible the proper flattening of any odt file that contains
links to odg.
Comment 1 josephervin 2010-10-18 16:19:57 UTC
Created attachment 72093 [details]
simple odt file with link to odg file that demonstrates the bug
Comment 2 michael.ruess 2010-10-19 09:21:01 UTC
Not only a Writer-Draw problem, happens in all applications in OOo.

MRU->MAV: insert a linked OLE object, save document, reload, break link to OLE,
save document and reload -> object is still linked. This worked last in OOo 3.0.1.
Comment 3 khanowais 2011-01-23 23:45:51 UTC
Confirming this issue is reproducible on OOo 3.2.1 in build 9502 on Windows 7 
and in build 9505 on Ubuntu 10.10.

The bug also seems to occur when breaking the link of an OLE object and then 
copying it on the same or different document.

Replication Sequence:
1. Create a document to use as the OLE object (i.e. spreadsheet)
2. Create a new Writer document
3. Insert a linked OLE object
3.1. Go to Insert -> Object -> OLE Object
3.2. Click on "Create from File", browse to the file and check the box "Link to 
File"
4. Break Link to OLE object
4.1. Go to Edit -> Link
4.2. Click on "Break Link"
5. Click on OLE object to select it
6. Copy it by pressing CTRL+C
7. Paste it by pressing CTRL+V

Expected output: Copied object with broken link
Actual output: Link is not broken


There is a workaround for this bug:
1. Follow above steps up to step 5.
2. Cut the object by pressing CTRL+X
3. Close the document
4. Re-open the document
5. Paste the object by pressing CTRL+V

Actual and expected output: Link is broken
Comment 4 khanowais 2011-01-23 23:47:48 UTC
In step 3 of the aworkaround sequence, save AND close the document (instead of 
just closing it).
Comment 5 akhter03 2011-01-24 04:32:24 UTC
I replicated the Bug on Windows 7, open office 3.2.1 version. After removing 
the link I opened the .odt file again. A pop up appeared “do you want to update 
all links”, I opted “NO”. Still the behavior was same as stated in the report. 
This issue is really important for the clients. If not fixed it won’t
allow proper flattening of the .odt file that contains link to .odg object.
Comment 6 Marcus 2017-05-20 10:55:27 UTC
Reset assigne to the default "issues@openoffice.apache.org".