Issue 87034 - OLE link: editing object does not affect source document anymore
Summary: OLE link: editing object does not affect source document anymore
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.4 RC4
Hardware: PC Windows XP
: P2 Trivial (vote)
Target Milestone: OOo 2.4
Assignee: michael.ruess
QA Contact: issues@framework
Keywords: regression
Depends on:
Reported: 2008-03-14 13:53 UTC by jbf.faure
Modified: 2008-03-17 15:10 UTC (History)
4 users (show)

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

The fix for review. (354 bytes, text/plain)
2008-03-14 18:42 UTC, mikhail.voytenko
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jbf.faure 2008-03-14 13:53:49 UTC
OLE links do not work as in 2.3.1.
Step to reproduce :
- create Draw file (.odg) with some drawing
- open a new odt document
- insert an OLE object, choose the odg file and check "link to file"
- double click on Draw object and modify the drawing
- click in the text document outside Draw object and save the odt file
- close the odt file

In OOo 2.3.1 under XP : the odg file has been updated
In OOo 2.4RC4 under XP : then odg file has not been updated

The problem is similar with Draw objects in Calc file.

I do not know if the behaviour of 2.3.1 in identical under Linux
But OOo2.4RC4 shows same behaviour under Linux as under XP.
Comment 1 Olaf Felka 2008-03-14 14:27:00 UTC
@ mru: Please have a look.
Comment 2 michael.ruess 2008-03-14 15:36:00 UTC
MRU->MAV: as described, when having an OLE link in a document, the source
document will not be modified anymore when editing the object.
Comment 3 kurt.zenker 2008-03-14 18:27:44 UTC
add me to cc
Comment 4 mikhail.voytenko 2008-03-14 18:38:05 UTC
The problem was introduced by the fix for the issue 81437. The embedded objects
use StoreTo internally, so actually the mentioned fix should be done ( and makes
sence ) only for normal documents.

The fix brings no risk from my point of view, since it affects only the fixed
scenario. Fixed.

In future it could make sense to get rid of the usage of StoreTo for embedded
objects, it does not look to be really necessary.
Comment 5 mikhail.voytenko 2008-03-14 18:42:04 UTC
Created attachment 52103 [details]
The fix for review.
Comment 6 mikhail.voytenko 2008-03-14 20:31:23 UTC
MAV->MRU: Please verify the issue.
Comment 7 pierrepo 2008-03-14 20:55:53 UTC
Do you offer the supresion of this functionality "link the OLE object with a
file" ? 
Comment 8 michael.ruess 2008-03-15 12:41:52 UTC
Verified in CWS mav30.
Comment 9 michael.ruess 2008-03-17 15:10:03 UTC
Checked fix in OOH680m12.