commit b42b310d678e5330a3e3bc0d26ce3f27e3bc77ea
parent 0fe53898583997a0b60a4da9d57c0fba97649dfe
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 2 Dec 2009 23:57:55 +0000
Add some debugging for a sync problem
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js
@@ -3314,6 +3314,9 @@ Zotero.Sync.Server.Data = new function() {
var libraryID = item.creators[index].libraryID ? item.creators[index].libraryID : Zotero.libraryID;
var key = item.creators[index].key;
if (!key) {
+ Zotero.debug('==========');
+ Zotero.debug(index);
+ Zotero.debug(item);
throw ("Creator key not set for item in Zotero.Sync.Server.sync()");
}
newCreator.@libraryID = libraryID;