Apache OpenOffice (AOO) Bugzilla – Issue 124030
Failed to open ODT file exported from AOO with comment/annotation in original docx file
Last modified: 2017-05-20 11:43:19 UTC
Created attachment 82291 [details] Test docx file Build: AOO410m1(Build:9750) - Rev. 1557518 Steps: 1. Open the test document FFCMS2007FFCSW_Comment_numbering0000.docx in AOO 2. Save it as ODT 3. Try to open the exported ODT file in AOO Problem: failed to open it, with error message "Read-Error", "Error reading file" (please see screenshot ReadErrorForExportedODF.jpg)
Created attachment 82292 [details] Error msgbox for failing openning exported odt
Confirmed with AOO410m1(Build:9750) - Rev. 1557669 2014-01-14_04:11:13 - Rev. 1557927 Debian
I can confirm this defect. Taking over to work on a solution.
fix in progress root cause: The code which applies the read comment/annotation to a text range, when ODF element <office:annotation-end> is read, triggers by side effect the invalidation of a <com::sun::star::text::TextRange> instance which are hold to apply certain attributes. When accessing this invalid <com::sun::star::text::TextRange> instance OpenOffice crashes. I figured out that the invalidation of the <com::sun::star::text::TextRange> instance is not correct as the change does not influence this <com::sun::star::text::TextRange> instance.
"orw" committed SVN revision 1558762 into trunk: 124030 - <::sw::mark::MarkManager::deleteMarks(..)> - do not delete UNO mark ...
fixed on trunk for next release
It's verified fixed in build AOO410m1(Build:9750) - Rev. 1560574