DebugID D682095689
Bonjour,
J'ai rencontré un problème lors de l'importation d'une citation avec LibreOffice sous Mac.
J'obtiens l'erreur "curr is undefined" et ma citation reste sous la forme "Citation" sous LibreOffice.
La même erreur se produit avec le fichier dupliqué.
Testé également sous une machine virtuelle Windows et LibreOffice dernière version : même erreur.
Merci d'avance
J'ai rencontré un problème lors de l'importation d'une citation avec LibreOffice sous Mac.
J'obtiens l'erreur "curr is undefined" et ma citation reste sous la forme "Citation" sous LibreOffice.
La même erreur se produit avec le fichier dupliqué.
Testé également sous une machine virtuelle Windows et LibreOffice dernière version : même erreur.
Merci d'avance
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
After updating Zotero to 5.0.43, I've still got problems.
Now, I've "blob.strings is undefined" error when I try to import citation.
https://github.com/zotero/zotero/blob/89d7dad12653ff1fad10ca8769e43a050d145ba4/chrome/content/zotero/xpcom/citeproc.js#L3730
@v.cordier It looks like you are inserting the citation with text in the Prefix and/or Affix fields. If that is correct, could you cut-and-paste the content of those fields here?
(With the Prefix/Affix content, or with the CSL JSON, I can check exactly the same input here, to see if you are being hit by a bug in the processor.)
[
{
"id": "http://zotero.org/users/3189823/items/JUJCAGCV",
"type": "legislation",
"title": "Arrêté du 23 mars 1992 relatif au programme des études conduisant au diplôme d'État d'infirmier",
"issued": {
"date-parts": [
[
"1992",
3,
23
]
]
},
"accessed": {
"date-parts": [
[
"2017",
8,
29
]
]
}
}
]
@adomasven, @dstillman This is a processor bug. Will post back after digging further on it.
@v.cordier This will be fixed, so if you are not at the point of submission, you can continue work on the document by switching to another citation style that does not throw this error.
The bug was triggered by a call to a date inside a
cs:substituteparent, followed by a call to the same variable later in the style. A minimal CSL snippet that triggered the bug is now in the test suite. The closing tag function for the subsequently-suppressed date was not being properly avoided, and the attempt to close a non-existent nesting environment triggered the crash. All fixed now.