Bug 140603

Summary: FILESAVE: Docx embedded in ods is lost when saving the spreadsheet in xlsx format
Product: LibreOffice Reporter: pierre-yves samyn <pierre-yves.samyn>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: 79045_79045
Priority: medium Keywords: dataLoss, filter:xlsx
Version: 7.0.4.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=103406
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107810    
Attachments: Ods file with an embedded docx
error message docx embedded doesn't exist

Description pierre-yves samyn 2021-02-22 15:27:50 UTC
Description:
Docx embedded in ods is lost when saving the spreadsheet in xlsx format (whether excel 2007-365 or Office Open XML).

The object is NOT lost when saving in xls format (97-2003).

Steps to Reproduce:
1.Open attached file (ods) that includes an embedded docx
2.Save as xlsx
3.Reopen the xlsx file.

Actual Results:
Docx is lost

Expected Results:
Docx is not lost


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Reproduced on Windows & 
Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); Langue IHM : fr-FR
Calc: threaded

Also reproduced with Version: 7.1.1.1 (x64) / LibreOffice Community
Build ID: 575c5867c4cc13d7ae78f9ce39a54a52ed38c769
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded

Also reproduced on Ask/fr https://ask.libreoffice.org/fr/question/294739/libre-office-calc-insertion-objet-ole-plus-donjet-apres-sauvegarde-cloture/
Comment 1 pierre-yves samyn 2021-02-22 15:29:01 UTC
Created attachment 169968 [details]
Ods file with an embedded docx

Ods file with an embedded docx
Comment 2 Roman Kuznetsov 2021-08-02 21:50:26 UTC
confirm in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4677345e3695bac158bb04048b4d5c608ed764b4
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 3 Sophie Sipasseuth 2023-07-13 16:22:55 UTC
Created attachment 188352 [details]
error message docx embedded doesn't exist

Repro

Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: ff2ba77f22b2e96f96f5537aec1705956b47583d
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: CL

But, at the first step, when I want to open the odt file with the docx embedded, an error message appears.
The message seems to say, the docx embedded doesn't exist.
So, perhaps, it is the reason for the bug?