Reputation: 43589
I'm getting the following error when creating a new record/model:
Uncaught Error: Attempted to handle event `willSetProperty` on <App.NewsItem:ember361:null> while in state rootState.loaded.created.inFlight. Called with {reference: [object Object], store: <App.Store:ember299>, name: bodyHTML}
What does it mean?
Upvotes: 0
Views: 577
Reputation: 394
Seems like either you are modifying an existing dirty object , or you are trying setting some property to undefined
see
Upvotes: 0
Reputation: 43589
Seems to be caused by the application updating a property (called 'bodyHTML') on an instance of a model of type App.NewsItem
while it is being saved (rootState.loaded.created.inFlight
). I have no idea why I'm receiving the error on creation though.
Upvotes: 1