<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Libreoffice Writer crashes on inserting Zotero citations"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=105705#c17">Comment # 17</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Libreoffice Writer crashes on inserting Zotero citations"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=105705">bug 105705</a>
              from <span class="vcard"><a class="email" href="mailto:adomas.ven@gmail.com" title="Adomas VenĨkauskas <adomas.ven@gmail.com>"> <span class="fn">Adomas VenĨkauskas</span></a>
</span></b>
        <pre>We have a workaround
(<a href="https://github.com/zotero/zotero-libreoffice-integration/commit/3e275cf59b66f8d73babb2b6c17c9eb3ce85a90b">https://github.com/zotero/zotero-libreoffice-integration/commit/3e275cf59b66f8d73babb2b6c17c9eb3ce85a90b</a>)
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
(<a href="https://github.com/zotero/zotero-libreoffice-integration/raw/b767d2196390ce8ec035b874077c4e755211733a/install/Zotero_OpenOffice_Integration.oxt">https://github.com/zotero/zotero-libreoffice-integration/raw/b767d2196390ce8ec035b874077c4e755211733a/install/Zotero_OpenOffice_Integration.oxt</a>)
when inserting a citation with Unicode characters.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>