www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 18f3c2cfb006a1028dd444784338eb0b3433e4b1
parent 375b4341a620da7d0eb8fe87734af364167b9b4d
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 11 Jul 2017 04:37:23 -0400

Fix "destFile is not defined" file sync error

Diffstat:
Mchrome/content/zotero/xpcom/storage/storageLocal.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/storage/storageLocal.js b/chrome/content/zotero/xpcom/storage/storageLocal.js @@ -911,7 +911,7 @@ Zotero.Sync.Storage.Local = { // For advertising junk files, ignore a bug on Windows where // destFile.create() works but zipReader.extract() doesn't // when the path length is close to 255. - if (destFile.leafName.match(/[a-zA-Z0-9+=]{130,}/)) { + if (OS.Path.basename(destPath).match(/[a-zA-Z0-9+=]{130,}/)) { var msg = "Ignoring error extracting '" + destPath + "'"; Zotero.debug(msg, 2); Zotero.debug(e, 2);