From 5f819b7baa2b29f026bc1e381072e920de9cc4a9 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 2 May 2017 17:29:10 -0400 Subject: [PATCH] Additional debugging for sync issue --- chrome/content/zotero/xpcom/sync/syncEngine.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/chrome/content/zotero/xpcom/sync/syncEngine.js b/chrome/content/zotero/xpcom/sync/syncEngine.js index 7086a27fa..0a1af776c 100644 --- 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') {