Skip to content
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

factory.db.rel.del & PouchDB Sync #23

Closed
ronycohen opened this issue Mar 10, 2015 · 1 comment
Closed

factory.db.rel.del & PouchDB Sync #23

ronycohen opened this issue Mar 10, 2015 · 1 comment

Comments

@ronycohen
Copy link

Hello,
Thank you for your work !

I have an issue with factory.db.rel.del
When I delete with this function I guess it's normal that in the PouchDatabase Document Store
The document get a "deleted":true

And In the Sync CouchDB Database I can see the datas disapear.

But they stay in the local PouchDB with "deleted":true.

and Unfortunately, I cannot re-save the same objects
I have a ""Document update conflict", Error 409

Even if those docs were deleted before

@ronycohen
Copy link
Author

Solved.
I had to delete the rev property before SAVING it again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant