Issue 115111

Summary: Cannot "Break Link" to an OLE object
Product: General Reporter: josephervin <joseph.ervin>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, joseph.ervin
Version: OOo 3.2.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
simple odt file with link to odg file that demonstrates the bug none

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".