diff --git a/chrome/content/zotero/xpcom/data/dataObjects.js b/chrome/content/zotero/xpcom/data/dataObjects.js index 68b90f4a7..114ba427c 100644 --- a/chrome/content/zotero/xpcom/data/dataObjects.js +++ b/chrome/content/zotero/xpcom/data/dataObjects.js @@ -174,7 +174,10 @@ Zotero.DataObjects.prototype.getAsync = Zotero.Promise.coroutine(function* (ids, let id = ids[i]; if (!Number.isInteger(id)) { - throw new Error(`Invalid ${this._ZDO_object} ID '${id}' (${typeof id})`); + // TEMP + Zotero.logError(`${this._ZDO_object} ID '${id}' is not an integer (${typeof id})`); + id = parseInt(id); + //throw new Error(`${this._ZDO_object} ID '${id}' is not an integer (${typeof id})`); } // Check if already loaded