Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unloadAll() doesnt work #128

Closed
iamdtang opened this issue Jul 25, 2015 · 2 comments
Closed

unloadAll() doesnt work #128

iamdtang opened this issue Jul 25, 2015 · 2 comments

Comments

@iamdtang
Copy link

this.store.unloadAll();

Error while processing route: orders Cannot read property 'typeKey' of undefined TypeError: Cannot read property 'typeKey' of undefined

I then tried to unload each model type individually:

this.store.unloadAll('order-item');

This doesn't produce an error but it also doesn't work. Any ideas for workarounds?

@kurko
Copy link
Collaborator

kurko commented Jul 30, 2015

Not really. For TypeError: Cannot read property 'typeKey' of undefined, can you follow the execution until you find the line that's causing this?

@kurko
Copy link
Collaborator

kurko commented Jul 30, 2015

#125 is related. I'm closing this. If you think it's a separate issue, please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants