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

CouchDBError Document Must be a JSON Object #71

Open
danobot opened this issue Dec 1, 2020 · 0 comments
Open

CouchDBError Document Must be a JSON Object #71

danobot opened this issue Dec 1, 2020 · 0 comments

Comments

@danobot
Copy link
Owner

danobot commented Dec 1, 2020

Caused by race condition in pouchdb-redux library. (raised this issue).

have to migrate to redux-pouchdb-plus library and facing problem as collection reducers are not supported (raised issue)

To reproduce
This race condition happens when documents are added to the Redux in rapid succession (e.g. by double clicking or programmatically)
Create two notes by dobule-clicking the plus button. After a second, the redux-pouch reducer faces the race condition.

This issue can also occur in the background.

Impact:
The impact of this issue is very serious because it stops any further syncing from happening unless the browser page is refreshed.

@danobot danobot changed the title CUstomPouchError revision not found CouchDBError Document Must be a JSON Object Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant