Apache OpenOffice (AOO) Bugzilla – Issue 115111
Cannot "Break Link" to an OLE object
Last modified: 2017-05-20 10:55:27 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.
Created attachment 72093 [details] simple odt file with link to odg file that demonstrates the bug
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.
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
In step 3 of the aworkaround sequence, save AND close the document (instead of just closing it).
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.
Reset assigne to the default "issues@openoffice.apache.org".