Issue 103739 - Break Links doesn't function in Calc; links still there after re-opening file
Summary: Break Links doesn't function in Calc; links still there after re-opening file
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 3.1
Hardware: PC All
: P3 Trivial with 2 votes (vote)
Target Milestone: OOo 3.3
Assignee: yfjiang
QA Contact: issues@framework
URL:
Keywords: oooqa, regression
Depends on:
Blocks:
 
Reported: 2009-07-23 10:55 UTC by ottoshmidt
Modified: 2017-05-20 10:24 UTC (History)
6 users (show)

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


Attachments
OLE object for test (7.56 KB, application/vnd.oasis.opendocument.graphics)
2010-01-16 11:17 UTC, Rainer Bielefeld
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description ottoshmidt 2009-07-23 10:55:20 UTC
After Breaking links from Edit > Links.. closing Calc file with saving it and
re-opening the links to other Calc file still remain.
Comment 1 Mechtilde 2009-07-23 11:01:40 UTC
I can confirm it

step by step:

1. Create a link to a cell in another document
2. choose "Edit -> Links -> Break"
3. Save
4. Reopen and the link is still there
Comment 2 py_samyn 2009-07-30 08:26:55 UTC
Hello

I confirm with Windows XP buildid=310m11(Build:9399)

the problem occurs also with wordprocessor

Step to reproduce :
1.Insert > Ole > Ole object > Create from file > Check link to file
2.Edit > Links > Select the link > Click on Break link and confirm
3.Save the document
4.Reopen...

Sorry but I do not know if I am supposed to create another Issue because the
module is different, but it seems that the problem is the same.
Please indicate me the procedure.

Best regards
Comment 3 Mechtilde 2009-08-31 13:04:01 UTC
so it seems to be framework, doesn't it?
Comment 4 Rainer Bielefeld 2010-01-16 11:15:46 UTC
Reproducible with "Ooo 3.2.0 RC2 WIN XP DE-multilingual version German UI
activated [OOo320m9 (Build 9476)]", so OS -> ALL

Also reproducible with WRITER. If you save a new WRITER document in the same
folder as attached "11971542601675001438kuba_Envelope_2.odg", then 
1. insert drawing as linked object with menu 
   'Insert - Object - OLE object - from File', 
2. Save writer document, 
3. Break link using  'Edit - Links - Break link'
4. save and close WRITER document
5. reopen document 
   expected: document with embedded DRAWing
   actual: document with linked DRAWing
Sometimes I even get the message "11971542601675001438kuba_Envelope_2.odg can
not be found" in step 5
Comment 5 Rainer Bielefeld 2010-01-16 11:17:00 UTC
Created attachment 67234 [details]
OLE object for test
Comment 6 Rainer Bielefeld 2010-01-16 12:29:14 UTC
Added keyword
Comment 7 Rainer Bielefeld 2010-02-01 04:34:46 UTC
Also Reproducible with "Ooo-Dev 3.3.0 multilingual version German UI WIN XP:
[DEV300m70 (Build 9478)]"!
This is a 3.3. blocker, do we already have a task issue for that?
Comment 8 robbk 2010-02-09 09:26:32 UTC
Reproducible in Calc on WinXP, OOo310m11 Novell Edition Build 2009-05-27.
In addition, one cannot see the entire path of the Source file in the Edit Links
window because it is cut off, e.g.
"file:///c:/dokumente%20und%20einstellungen/moser_h/lokale%20einstellungen/temp/note"
is only part of the path to the file.
Comment 9 kynh 2010-02-16 08:51:43 UTC
I also confirm it with Windows Vista + OpenOffice.org 3.2.0 Calc Ja Build.
Comment 10 kyoshida 2010-03-05 23:35:26 UTC
The link is still there because the formulas referencing the external documents
are still there, and Calc automatically creates links upon reopening, on demand.
 In order to fix this, we need to convert the values of those cells to static
values when the link is broken.
Comment 11 kyoshida 2010-03-05 23:37:02 UTC
Please file a separate bug for the writer issue.  I'll only deal with Calc's
issue this time.
Comment 12 kyoshida 2010-03-05 23:38:15 UTC
I'll take care of this in the koheiextref01 cws.
Comment 13 kyoshida 2010-03-06 00:47:43 UTC
Fixed in koheiextref01 cws:
http://hg.services.openoffice.org/hg/cws/koheiextref01/rev/68751b02f6ae
Comment 14 kyoshida 2010-04-29 03:24:45 UTC
Re-assigning to oc for verification.
Comment 15 kyoshida 2010-05-26 16:31:14 UTC
Re-assigning to Yi Fan for verification.
Comment 16 yfjiang 2010-05-31 03:29:32 UTC
Verified on SLED 11 sp1 and Windows xp sp3.
Comment 17 oc 2010-06-04 10:43:22 UTC
Break link still not work with linked charts => follow up #i112112#