[Libreoffice-bugs] [Bug 105705] Libreoffice Writer crashes on inserting Zotero citations

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 28 08:43:59 UTC 2017


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

--- Comment #17 from Adomas VenĨkauskas <adomas.ven at gmail.com> ---
We have a workaround
(https://github.com/zotero/zotero-libreoffice-integration/commit/3e275cf59b66f8d73babb2b6c17c9eb3ce85a90b)
for the crashing in our codebase, but the underlying bug in LibreOffice still
exists.

I couldn't create an isolated test-case, but it shouldn't be too difficult with
python UNO. The problem seems to occur when the view cursor is at the end of
the document/paragraph, where another cursor is created to replace some of the
existing text. The crash is triggered on TextCursor.insertDocumentFromURL()
call. If the view cursor is moved out of the range that is being replaced no
crashing occurs.

The crash is consistently reproducible with Zotero and LibreOffice extension
pre-fix
(https://github.com/zotero/zotero-libreoffice-integration/raw/b767d2196390ce8ec035b874077c4e755211733a/install/Zotero_OpenOffice_Integration.oxt)
when inserting a citation with Unicode characters.

-- 
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/20170428/5d888e95/attachment-0001.html>


More information about the Libreoffice-bugs mailing list