Today after spending four hours trying to find out what is causing “calling set on destroyed object” I’ve gave up, opened Ember source, looked up error message and changed it to following:
Ember['default'].assert("calling set('" + keyName + "') on destroyed object", !obj.isDestroyed);
This finally produced following error:
Uncaught Error: Assertion Failed: calling set('isVisible') on destroyed object
This allowed me to isolate and fix origin of problem instantly.
Could please this little fix land in source? Perfectly, Error with dumps of both object and value would help in identifying test cases that trouble origins from, but thay may be tricky to get done.