Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#1522 closed defect (fixed)

Beginning of MODS passed to translate.setString() cut off

Reported by: dstillman Owned by: simon
Priority: blocker Milestone:
Component: export Version: 2.0
Keywords: Cc:

Description

Passing the following through Import from Clipboard fails, even though it works from a file:

<modsCollection>
<mods>
<titleInfo>
<title>Challenges of optimal implementation of formal water rights systems for irrigation in the Great Ruaha River
</title>
</titleInfo>
</mods>
</modsCollection>

Translate: Translation using MODS failed:
message => XML tag name mismatch (expected parent)
fileName =>
lineNumber => 8
stack => XML("Collection>\n<mods>\n<titleInfo>\n<title>Challenges of optimal implementation of formal water rights systems for irrigation in the Great Ruaha River\n</title>\n</titleInfo>\n</mods>\n</modsCollection>")@:0
doImport()@chrome://zotero/content/xpcom/translate.js:1175

The MODS snippet above was from a report regarding UnAPI, which I'm guessing is failing for the same reason.

Change History (2)

comment:1 Changed 7 years ago by dstillman

  • Resolution set to fixed
  • Status changed from new to closed

Fixed by r4738

comment:2 Changed 6 years ago by dstillman

  • Milestone 2.0 Beta 6.3 deleted

Milestone 2.0 Beta 6.3 deleted

Note: See TracTickets for help on using tickets.