Latest version breaks EmberData


#1

Hi,

I am using latest version of Ember (2.5.0 beta4) and when I try to run a simple ember-data request it shows this error:

App.__container__.lookup('controller:application').store.findAll('person');


"Assertion Failed: You must use Ember.set() to set the `content` property (of <DS.RecordArray:ember602>) to ``."

or

App.__container__.lookup('controller:application').store.find('person', 1);

ember-template-compiler.js:4485 Uncaught Error: Assertion Failed: You must use Ember.set() to set the `id` property (of <App.Person:ember644:null>) to `1`.

NOTE: Ember Inspector also crashes with this error:

Error message: Assertion Failed: You must use Ember.set() to set the `content` property (of <DS.RecordArray:ember601>) to ``.

The backend(json api) works fine with Ember v2.1 and this also works fine:

$.getJSON('/dashboard/api/people');

Has anyone observed the same error? Any ideas? Thanks :slight_smile: