www

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

commit 5f819b7baa2b29f026bc1e381072e920de9cc4a9
parent 4502b5e9902dd07f2e5c4acd965fb65b4a0d66ad
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue,  2 May 2017 17:29:10 -0400

Additional debugging for sync issue

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

diff --git a/chrome/content/zotero/xpcom/sync/syncEngine.js b/chrome/content/zotero/xpcom/sync/syncEngine.js @@ -1133,7 +1133,14 @@ Zotero.Sync.Data.Engine.prototype._uploadObjects = Zotero.Promise.coroutine(func + `references parent collection ${data.collection}, which doesn't exist`); } Zotero.logError(`Marking collection ${data.collection} as unsynced`); + Zotero.debug(collection.synced); // TEMP yield Zotero.Sync.Data.Local.markObjectAsUnsynced(collection); + // TEMP + Zotero.debug(collection.synced); + Zotero.debug(yield Zotero.DB.valueQueryAsync( + "SELECT synced FROM collections WHERE collectionID=?", + collection.id + )); } } else if (objectType == 'item') {