From d89da8560650de8e087970377e66c7da7836fccd Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 19 Nov 2016 17:15:46 -0500 Subject: [PATCH] Fix error when overwriting translation with some filename --- 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 18705de22..e1d6706c1 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -753,7 +753,7 @@ Zotero.Schema = new function(){ catch (e) { if (e instanceof OS.File.Error && e.becauseExists) { // Could overwrite automatically, but we want to log this - let msg = "Overwriting translator with same filename '" + fileName + "'"; + let msg = "Overwriting translator with same filename '" + entry.fileName + "'"; Zotero.debug(msg, 1); Components.utils.reportError(msg); yield OS.File.move(tmpFile, destFile);