From 97767278fb2e0a763a8b13a9ac0204c47f31a2eb Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 27 Mar 2020 02:00:28 -0400 Subject: [PATCH] Load all item data types before migrating Extra fields on schema update https://forums.zotero.org/discussion/82153/beta-startup-error --- chrome/content/zotero/xpcom/schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 81710957b4..aa3a87a6e9 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -629,7 +629,7 @@ Zotero.Schema = new function(){ } var items = await Zotero.Items.getAsync(itemIDs); - await Zotero.Items.loadDataTypes(items, ['itemData', 'creator']); + await Zotero.Items.loadDataTypes(items); for (let item of items) { let changed = item.migrateExtraFields(); if (!changed) continue;