https://bugs.documentfoundation.org/show_bug.cgi?id=170322
Bug ID: 170322
Summary: FILESAVE DOCX Certain documents with content controls
can't be opened in Word after roundtrip
Product: LibreOffice
Version: 24.2.1.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: bibisected, bisected, regression
Severity: normal
Priority: medium
Component: filters and storage
Assignee: [email protected]
Reporter: [email protected]
Blocks: 104528, 113363
Open and save attachment 53318 from bug 42736 or attachment 125030 from bug
99822 back to DOCX, then try opening the result in Word.
=> Word fails to open the files cleanly.
If one:
- unzips the saved DOCX,
- executes the following command (can be done in Linux/Cygwin, needs xmllint
installed): find . \( -name "*.xml" -o -name "*.rels" \) -type f -exec xmllint
--output '{}' --format '{}' \;
- rezips the files with DOCX extension,
Word points to the ending '</w:sdt>' element in the respective XMLs containing
the content controls.
This is a regression from the following commit in 24.8 and its backport to
24.2:
https://git.libreoffice.org/core/commit/13a11632014ccc27199667c6a1e313f8ff616d6d
author Mike Kaganski <[email protected]> Mon Jan 22
19:10:29 2024 +0600
committer Mike Kaganski <[email protected]> Tue Jan 23
05:33:42 2024 +0100
"tdf#159259: make sure to set FieldStartRange in sdt helper"
Affected bugdocs:
abi13887-1.docx
fdo42736-1.docx
forum-mso-de-88566.docx
forum-mso-de-88567.docx
forum-mso-en-11890.docx
forum-mso-en-12392.docx
forum-mso-en-1852.docx
forum-mso-en-3607.docx
forum-mso-en-4096.docx
lp1193316-1.docx
tdf99822-1.docx
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=104528
[Bug 104528] [META] Saved DOCX files that MS Word can't open
https://bugs.documentfoundation.org/show_bug.cgi?id=113363
[Bug 113363] [META] DOCX (OOXML) content control-related issues
--
You are receiving this mail because:
You are the assignee for the bug.