Skip to content

CouchDBError Document Must be a JSON Object #71

@danobot

Description

@danobot

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions