Bug 158794

Summary: Pasting a DDE link into a footnote / endnote crashes
Product: LibreOffice Reporter: Mike Kaganski <mikekaganski>
Component: WriterAssignee: Mike Kaganski <mikekaganski>
Status: RESOLVED FIXED    
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
URL: https://ask.libreoffice.org/t/query-on-paste-special-of-a-dde-link-from-calc-cells-to-writer-endnotes/53733/
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=76007
Whiteboard: target:24.8.0 target:24.2.0.0.beta2
Crash report or crash signature: Regression By:

Description Mike Kaganski 2023-12-20 15:50:48 UTC
1. Create a Calc document
2. Put 1 into A1
3. Select A1
4. Copy to clipboard (Ctrl+C)

5. Create a Writer document
6. Insert a footnote
7. Edit->Paste Special->Paste Special (Ctrl+Shift+V), select Dynamic Data Exchange (DDE Link) -> OK

=> Crash
Comment 1 Mike Kaganski 2023-12-20 15:57:45 UTC
https://gerrit.libreoffice.org/c/core/+/161078
Comment 2 Commit Notification 2023-12-20 19:59:00 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/3a33a97d2358a7ad2e67c01edc1fca29d1b7041c

tdf#158794: do not try to insert DDE table into footnotes / endnotes

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2023-12-21 11:05:00 UTC
Mike Kaganski committed a patch related to this issue.
It has been pushed to "libreoffice-24-2":

https://git.libreoffice.org/core/commit/952ce9b534857151ae57e517bc7ab6c9190b9916

tdf#158794: do not try to insert DDE table into footnotes / endnotes

It will be available in 24.2.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.