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

Couchdbstore failed to update after deleting doc using Futon #16

Closed
vweyl opened this issue May 23, 2012 · 2 comments
Closed

Couchdbstore failed to update after deleting doc using Futon #16

vweyl opened this issue May 23, 2012 · 2 comments

Comments

@vweyl
Copy link

vweyl commented May 23, 2012

Synchronize with a view.
Delete document from couchdb using futon.
UI built with the view as model is not updated .

Following error reported:
TypeError: 'undefined' is not an object (evaluating 'value.id') in function removeDocInStore.

@podefr
Copy link
Member

podefr commented May 24, 2012

Hi Vincent, thanks for the bug report

I just tried and couldn't reproduce the bug. If it's sync with a view it means that it's an array-based store ([]) with an undefined value, which shouldn't happen, unless it was modified on the client side. Does your app manipulate the store?

@podefr
Copy link
Member

podefr commented Jul 9, 2012

There was an issue with the Tools.Loop function when items were removed during the looping. Fixed in 1.1.4

@podefr podefr closed this as completed Jul 9, 2012
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

2 participants