-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync failed for updated docs from a local encrypted db #42
Comments
the reason for this issue may be the same as here: |
3 years later, and one afternoon later in my case: I believe the issue here is the same: In summary: don't blacklist the keys you don't want to encrypt, instead whitelist the keys you want to encrypt. Doc has more |
It seems that in some cases (some adapters?) the PouchDB's bulkGet() internally calls get(). This is not detected by transform-pouch, which in turn calls outgoing() on the returned document two times - at get() and at bulkGet(). |
Hi,
if I update a doc and then try to sync this doc to a remote db - pouchdb throw this exception:
Error: There was a problem getting docs.
at finishBatch (pouchdb-6.1.1.js:13009)
If I create a new doc in an empty db (local and remote) the first sync works well.
Here is the code of my crypto transform (I am using sjcl because it works well on iOS Safari) :
The text was updated successfully, but these errors were encountered: