From 1ff0105daf0510b06744dd3c535b9bcf780ce61c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 14 Dec 2009 11:32:50 +0000 Subject: [PATCH] Throw (rather than log) ecrypt/filename length limit error on Linux --- chrome/content/zotero/xpcom/storage.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js index 195fc600e1..1b1ae6391e 100644 --- a/chrome/content/zotero/xpcom/storage.js +++ b/chrome/content/zotero/xpcom/storage.js @@ -806,10 +806,9 @@ Zotero.Sync.Storage = new function () { // ecrypt (on Ubuntu, at least) can result in a lower limit -- // not much we can do about this, but log a warning else if (e.name == "NS_ERROR_FAILURE" && Zotero.isLinux && destFile.leafName.length > 130) { - var msg = "Error creating file '" + destFile.leafName + "' " + var e = "Error creating file '" + destFile.leafName + "' " + "(Are you using filesystem encryption such as ecrypt " + "that results in a filename length limit below 255 bytes?)"; - Components.utils.reportError(msg); } if (windowsLength || nameLength) {