diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 007ea85e6b..f56d56919a 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -4071,6 +4071,10 @@ var ZoteroPane = new function() let isLinkedFile = !item.isImportedAttachment(); let path = item.getFilePath(); + if (!path) { + ZoteroPane_Local.showAttachmentNotFoundDialog(item.id, true, true); + return; + } let fileExists = await OS.File.exists(path); // If the file is an evicted iCloud Drive file, launch that to trigger a download.