diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index e6c4cc5a8..1e32ecc09 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -4312,6 +4312,18 @@ Zotero.Item.prototype._loadCreators = function() { */ Zotero.Item.prototype._loadItemData = function() { if (!this.id) { + // Log backtrace and data + try { + asfasfsa(); + } + catch (e) { + Zotero.debug(e); + Zotero.debug(this._itemTypeID); + Zotero.debug(this._libraryID); + Zotero.debug(this._key); + Zotero.debug(this._dateAdded); + Zotero.debug(this._dateModified); + } throw ('ItemID not set for object before attempting to load data'); }