[Libreoffice-bugs] [Bug 111524] FILESAVE ODT: Crash while saving after deleting all comments

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Aug 11 19:39:22 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=111524

Michael Stahl <mstahl at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|libreoffice-bugs at lists.free |mstahl at redhat.com
                   |desktop.org                 |

--- Comment #7 from Michael Stahl <mstahl at redhat.com> ---
repro:

1. create new writer doc
2. type "foo"
3. select "foo"
4. Ctrl+Alt+C, add some comment text
5. turn on Edit->Track Changes->Record
6. click comment menu, Delete Comment
7. Save As ODF
=>
soffice.bin: sw/source/core/unocore/unoportenum.cxx:300: void
{anonymous}::{anonymous}::lcl_FillAnnotationStartArray(SwDoc&, SwUnoCursor&,
{anonymous}::{anonymous}::SwAnnotationStartPortion_ImplList&): Assertion
`pAnnotationFormatField != nullptr' failed.

it looks like the moving to and fro of the deleted comment during hiding &
showing redlines destroys the association of the AnnotationMark and the
SwPostItField; in lcl_FillAnnotationStartArray the SwPostItField has an empty
name, so it's not found

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170811/65bdaeab/attachment-0001.html>


More information about the Libreoffice-bugs mailing list