zotero/translators — comment on commit dd3c956584d87cda226941f7a956a57af0d1f748
File:  line 0
By ajlyon:

Hmm. I actually got a Zotero crash when saving a single item ("An error has occurred. Please restart Zotero.")

[JavaScript Error: "[Exception... "Component returned failure code: 0x80630003 (NS_ERROR_STORAGE_CONSTRAINT) [mozIStorageStatement.execute]" nsresult: "0x80630003 (NS_ERROR_STORAGE_CONSTRAINT)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: :: line 139" data: no] [QUERY: INSERT OR IGNORE INTO collectionItems VALUES (?,?,?)] [ERROR: insert on table "collectionItems" violates foreign key constraint "fki_collectionItems_itemID_items_itemID"]"]

[JavaScript Error: "uncaught exception: [Exception... "Component returned failure code: 0x80630003 (NS_ERROR_STORAGE_CONSTRAINT) [mozIStorageStatement.execute]" nsresult: "0x80630003 (NS_ERROR_STORAGE_CONSTRAINT)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: :: line 139" data: no] [QUERY: INSERT INTO itemAttachments (itemID, sourceItemID, linkMode, mimeType, charsetID, path, syncState) VALUES (?,?,?,?,?,?,?)] [ERROR: insert on table "itemAttachments" violates foreign key constraint "fki_itemAttachments_sourceItemID_items_sourceItemID"]"]

[JavaScript Error: "uncaught exception: [Exception... "Component returned failure code: 0x80630003 (NS_ERROR_STORAGE_CONSTRAINT) [mozIStorageStatement.execute]" nsresult: "0x80630003 (NS_ERROR_STORAGE_CONSTRAINT)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: :: line 139" data: no] [QUERY: INSERT INTO itemAttachments (itemID, sourceItemID, linkMode, mimeType, charsetID, path, syncState) VALUES (?,?,?,?,?,?,?)] [ERROR: insert on table "itemAttachments" violates foreign key constraint "fki_itemAttachments_sourceItemID_items_sourceItemID"]"]

This is report 406975645. Perhaps @simonster can take a look?

I'm inclined to just delete the BMC translator for now, since, now that Embedded Metadata supports things like attached PDFs, it is useful only for search results.