mercredi 10 juin 2015

Emberjs not able to find record that is in datastore (mongodb)

After I update a record, then save the record; I refresh the page. Then I get this warning.

WARNING: Ember Data expected to find records with the following ids in the adapter response but they were missing: [5578caa125aa26c4770d0b49]

Form the ember inspector, all the attributes of the specific record are undefined except for the id. I know the record exists in the data store, because I looked it up in mongodb. Since the data is in the mongodb, but ember-data does not 'see' it, I can not use that record.

I googled the warning but all I got was references to the source code which I tried to figure out but was not successful.

Any help would be greatly appreciated.

Thanks.

Aucun commentaire:

Enregistrer un commentaire