Additional debugging for sync issue

This commit is contained in:
Dan Stillman 2017-05-02 17:29:10 -04:00
parent 4502b5e990
commit 5f819b7baa

View file

@ -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') {