Bug 136860

Summary: Mendeley extensions fails to introduce new citation
Product: LibreOffice Reporter: Julian <jgelcon>
Component: ExtensionsAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: buzea.bogdan
Priority: medium    
Version: 7.0.1.2 release   
Hardware: All   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 133092    

Description Julian 2020-09-17 19:50:05 UTC
Description:
When trying to add a new citation, the extension crashes while "formatting ctation", and gives the following error message:

Error: Se ha producido una excepción 
Type: com.sun.star.uno.RuntimeException
Message: SwXReferenceMark::InsertRefMark(): cannot insert attribute.
At line: 938

At the moment, no new citations can be added, nor can I modify the ones already present. It might be caused by references which have been modified on Mendeley library, but I try to delete those references and add them again and the extension keeps crashing.

It seems that deleting the bibliography list and creating it again fixes the problem (at least once).

Steps to Reproduce:
1. Insert citations with Mendeley extension. Save and close the file.
2. Modify reference on Mendeley.
3. Open again the file and try to add new citation or modify existing one.
4. Delete bibliography list.
5. Repeat 1-3.

Actual Results:
Error: Se ha producido una excepción 
Type: com.sun.star.uno.RuntimeException
Message: SwXReferenceMark::InsertRefMark(): cannot insert attribute.
At line: 938

And instead of reference, shows "Formatting citation"

Expected Results:
Correct citation (f.i., Jones et al 2020)


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: es
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: yes
Comment 1 Timur 2020-09-18 07:18:41 UTC
If extension crashes, report should be done to Mendeley.
Please search for Mendeley in open and closed bugs, always before reporting.
Comment 2 Buovjaga 2021-07-26 09:04:47 UTC
Mendeley does not have a public bug tracker. They take reports through this: https://service.elsevier.com/app/contact/supporthub/mendeley/
Comment 3 Timur 2021-09-16 17:28:00 UTC
Let's consider a duplicate. 
PLEASE write it you reported to Mendeley. And test with newest version.

*** This bug has been marked as a duplicate of bug 142572 ***