quickstart-code-sample icon indicating copy to clipboard operation
quickstart-code-sample copied to clipboard

my code breaks when switching to LSAdapter

Open connor11528 opened this issue 12 years ago • 0 comments

I tried copying this code from the ember docs. Everything works fine when I use the FixtureAdapter, but when I change to the LSAdapter and try to mark a todo as complete I get the error:

Cannot call method 'lookup' of undefined from ember-data line 217

If I try to delete a record I get the error:

Uncaught Error: Attempted to handle event `deleteRecord` on <EmberYeoman.Todo:ember309:ihdlu> while in state root.loaded.updated.inFlight.

coming from ember-data

Why does my code break when I switch adapters?

connor11528 avatar Dec 07 '13 10:12 connor11528