I am struggling to understand everything about the life cycle of the ember model. I created this jsfiddle to illustrate my problem. When you click on one of the entries in the list, edit the value and click on the version link to return to the list, I get the following error:
Unacceptable error: attempt to process the event loadedDatawhen rootState.loaded.updated.uncommitted is enabled. Called with {}
What causes this? I realized that the state of the object is now dirty, but how can I force all objects to be updated when I open the list?
Also any suggestions on how to undo all property changes if the form is not saved? I was thinking about cloning an object using this clone in the form of editing and merging with the original when saving. Not as easy as I first imagined.
Use the latest ember data and ember data.
source
share