www

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

commit ce9b915de160fb32b2fd8ac916169f9d35ab6e9e
parent add2c629cc10dfa4e8a62bd330ce83b3346430b1
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 21 Sep 2009 23:46:02 +0000

Debugging info for a user's problem


Diffstat:
Mchrome/content/zotero/xpcom/storage.js | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js @@ -454,6 +454,13 @@ Zotero.Sync.Storage = new function () { } // If file hash matches stored hash, only the mod time changed, so skip + var f = item.getFile(); + if (f) { + Zotero.debug(f.path); + } + else { + Zotero.debug("File missing before getting hash"); + } var fileHash = item.attachmentHash; if (attachmentData[item.id].hash && attachmentData[item.id].hash == fileHash) { Zotero.debug("Mod time didn't match but hash did for " + file.leafName + " -- ignoring");