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

Invalid value persists in document after failed update #734

Closed
rybaczewa opened this issue Jul 27, 2018 · 0 comments
Closed

Invalid value persists in document after failed update #734

rybaczewa opened this issue Jul 27, 2018 · 0 comments

Comments

@rybaczewa
Copy link
Contributor

rybaczewa commented Jul 27, 2018

Case

Bug

Issue

After querying collection for document I am trying to update it. When invalid value is passed to field with enum, update fails, but invalid value is written into document anyways. Relevant test added in pull request.

Requerying document does not help. In my specific case I am suing leveldb adapter. After reinstancing with RxDB.create data is ok.

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

2 participants