Issue 108749 - Crash changing or updating DDE link to Calc table in Writer
Summary: Crash changing or updating DDE link to Calc table in Writer
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 3.2 RC4
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: crash
Depends on:
Reported: 2010-01-28 20:32 UTC by guusstoop
Modified: 2017-05-20 11:13 UTC (History)
1 user (show)

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

Report containing links to Calc (325.31 KB, application/vnd.oasis.opendocument.text)
2010-01-28 20:34 UTC, guusstoop
no flags Details
coupled to 'Stressrapport UBOS-UCL vs.1.odt' (243.86 KB, application/vnd.oasis.opendocument.spreadsheet)
2010-01-28 20:36 UTC, guusstoop
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description guusstoop 2010-01-28 20:32:21 UTC
I create an automatic document using Calc to manipulate measurement data and results are copied to 
Writer. During the proces of building, changing results are reflected in the report. After closing both and 
reopening the document, Openoffice reports an error. I have to restart in order to use Openoffice again. It 
then tries to restore the documents. Restoring results in the same error.

It happens after I agree to update all links between Calc and Writer after opening the (restored) document 
Starting all over with new documents does not solve the problem.

I can send the files if needed
Comment 1 guusstoop 2010-01-28 20:34:44 UTC
Created attachment 67463 [details]
Report containing links to Calc
Comment 2 guusstoop 2010-01-28 20:36:10 UTC
Created attachment 67464 [details]
coupled to 'Stressrapport UBOS-UCL vs.1.odt'
Comment 3 michael.ruess 2010-01-29 13:06:55 UTC
MRU->OS: Writer crashes when it tries to access a certain DDE linked table of a
Calc sheet.
See the attached samples, it looks that the last link in the Edit.Links list is
responsible for the crash.
The odt contains the links customized for the user's setting, but when changing
the link to the path's on my local machine I get the crash. Report ID is rjg69wc.
Excerpt from stack is:
Comment 4 Oliver Specht 2010-01-29 15:02:05 UTC
The code in SwDDETable::ChangeContent() cannot cope with modified cell content. 
The example document contains a DDE-Table that contains another (DDE-)Table as
cell content. 
The same crash occurs if such table cells start with a text section. 

->guusstoop: The Table8 is a DDE-Table which is linked to cell F28 of the
spreadsheet. The only table cell of Table8 contains Table10 which is a DDE-Table
linked to O28 of the spreadsheet. 
If the update of the link wouldn't crash than the contained Table10 would be
replaced by the content of F28. That's probably not what you want. 
To be able to work with this document remove Table 8 and re-insert the link to O28. 
Comment 5 Marcus 2017-05-20 11:13:15 UTC
Reset assigne to the default "".