mirror of
https://github.com/zotero/zotero.git
synced 2026-09-24 00:51:37 +00:00
|
Some checks are pending
CI / Build, Upload, Test (push) Waiting to run
When a user's account is deleted and then undeleted on the server, the dataserver creates a fresh shardLibraries row at a low version, while the client still has a much higher local library version. Subsequent syncs then throw "_libraryVersion cannot decrease" and the user is stuck. Tag the cannot-decrease errors from the library version setters with a named error, catch it in Engine.start(), reset libraryVersion and storageVersion to -1, and restart. The retry hits the existing libraryVersion == -1 branch and runs _fullSync(), which re-uploads the local library against the recreated server library. |
||
|---|---|---|
| .. | ||
| components | ||
| content | ||
| resource | ||
| tests | ||
| chrome.manifest | ||
| runtests.sh | ||