I'm having trouble debugging this error I'm getting while deleting a record. I have a CartItem
model that's used as part of a shopping cart.
When I delete the record and persist the change:
cartItem.deleteRecord()
cartItem.save()
This error is raised in the console:
Attempted to handle event becameError on MyApp.CartItem:ember1606:null while in state rootState.deleted.inFlight. Called with undefined
I'm using Ember 1.0 and ember-data 0.13. I've been reading the ember-data source, and I would just like some tips on how to debug this.