Bug 160862 - Converting a DOCX to ODT using command line export each frame twice
Summary: Converting a DOCX to ODT using command line export each frame twice
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bisected, filter:odt, regression
Depends on:
Blocks:
 
Reported: 2024-04-29 20:44 UTC by Mike Kaganski
Modified: 2024-05-15 03:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2024-04-29 20:44:45 UTC
Download attachment 144783 [details] from bug 119800. Open and see that it shows one frame with a table, unless hidden characters are shown, in which case two frames are seen (119800 re-introduced in bug 137469), and the navigator shows two frames and two tables. Convert it to ODT using command line like

 soffice --convert-to odt path/to/tdf119800-1.odt

Check that the resulting ODT has four frames (two per each original fame).

Regression from commit 2bcfb7231b5ca74f02274cfb74ca8463f78905d6 (tdf#152872 sw: conditionally hide paragraph breaks, 2023-01-10).

Since commit 69ed893087f89d176a5ec4b263ce8d75774be72b (tdf#160253: fix list identifier export decision code, 2024-04-24), exporting using a debug build fails an assertion in XMLTextParagraphExport::RecordNodeIndex, which is a correct failure, showing exactly the problem that is described here.
Comment 1 Stéphane Guillou (stragu) 2024-05-15 03:00:24 UTC
Reproduced with recent daily build:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0dcaff6043e1f24ce0fa354dff80a86e40622247
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

Same with command line or save as ODT from GUI.