﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1746	deleting an item before Zotero.Attachments.importFromDocument() or Zotero.Attachments.*FromURL() completes causes fatal error	simon	dstillman	"Presumably, the event listener should check that the item still exists before trying to attach the attachment.

[JavaScript Error: ""uncaught exception: [Exception... ""Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [mozIStorageStatement.execute]""  nsresult: ""0x80004005 (NS_ERROR_FAILURE)""  location: ""JS frame :: chrome://zotero/content/xpcom/db.js :: anonymous :: 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""]""]"	defect	new	major	2.1 Final	data layer	2.1			
