-
Notifications
You must be signed in to change notification settings - Fork 138
Tracked properties sometimes throw error when updated #416
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
Comments
Somehow I missed this issue. I have never seen this error, could you possible create a JSFiddle or Plunker with which I can reproduce the issue? |
I am getting this one too (rc4).. updating to rc9 to see if it is still happening. Don't know how to reproduce since it randomly happens. |
I removed change tracking and I no longer get this issue. Tested on RC9. |
@jmdobry
|
@BennyAlex Could you create a plunker or stackblitz or jsfiddle or something with code that reproduces the error? |
I'm having this issue too. Seems like it happens when there are properties in a newly created model which are When you make sure you have default values for every property you don't set after creation, everything works. I think this is a bug. js-data should allow to have empty properties when saving a new model. |
Thanks for your work!
js-data.js:6623 Uncaught (in promise) TypeError: Cannot read property 'indexOf' of undefined
version: 3.0.0-rc.5
The text was updated successfully, but these errors were encountered: