Bug 37498 - FILESAVE: saving as RTF destroys part of document
Summary: FILESAVE: saving as RTF destroys part of document
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.3.2 release
Hardware: Other All
: high critical
Assignee: Miklos Vajna
Keywords: dataLoss
Depends on:
Reported: 2011-05-23 05:49 UTC by Jacob Boerema
Modified: 2015-12-18 09:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

Source document (11.18 KB, application/vnd.oasis.opendocument.text)
2011-05-23 05:49 UTC, Jacob Boerema
Resulting rtf document (7.82 KB, application/rtf)
2011-05-23 05:50 UTC, Jacob Boerema

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Boerema 2011-05-23 05:49:53 UTC
Created attachment 47039 [details]
Source document

Saving certain documents as RTF and then opening them again shows part of the document missing. This is possibly related to the local link to a bookmark within the same document (attached are source and result documents).

Inspecting the RTF file shows the data still there so possibly it's a mismatched parenthesis somewhere.
Comment 1 Jacob Boerema 2011-05-23 05:50:53 UTC
Created attachment 47040 [details]
Resulting rtf document
Comment 2 Jean-Baptiste Faure 2011-12-17 16:24:09 UTC
Problem still there with LO 3.5.0 beta-1 under Ubuntu 10.04 x86_64.

Miklos: it seems this bug could result in data loss when the user save particular document in RTF format. Feel free to reassign if you can't handle this bug.

Best regards. JBF
Comment 3 Miklos Vajna 2011-12-17 17:44:42 UTC

Thanks for the report, this bug was there since 2010-09-17. ;) It was indeed a mismatched parenthesis.

Fixed in master:


Also cherry-picked to libreoffice-3-5:

Comment 4 Jean-Baptiste Faure 2011-12-18 02:49:05 UTC
Big thanks Miklos!

Comment 5 Robinson Tryon (qubit) 2015-12-18 09:51:43 UTC
Migrating Whiteboard tags to Keywords: (data_loss -> dataLoss)