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

Uncaught TypeError: Cannot read property 'typeKey' of undefined #125

Open
simonihmig opened this issue Jul 6, 2015 · 4 comments
Open

Uncaught TypeError: Cannot read property 'typeKey' of undefined #125

simonihmig opened this issue Jul 6, 2015 · 4 comments

Comments

@simonihmig
Copy link

#121 seems to create problems for apps running ember-data 1.0.0-beta.16.1. I get this exception after upgrade from 0.5.3 to 0.5.4:

Uncaught TypeError: Cannot read property 'typeKey' of undefined

Stack trace:

ember$data$lib$system$store$$Service.extend.modelFor
ember$data$lib$system$store$$Service.extend.serializerFor
DS.LSAdapter.DS.Adapter.extend.createRecord
ember$data$lib$system$store$$_commit
...

I guess the typeKey/modelName changes are related to http://emberjs.com/blog/2015/05/21/ember-data-1-0-beta-18-released.html, but as stated there:

Accessing the typeKey property should still work, but will trigger deprecation warnings.

@kaiwah
Copy link

kaiwah commented Jul 14, 2015

+1, having the same issue.

@kaiwah
Copy link

kaiwah commented Jul 15, 2015

Just an update... this was fixed for me by upgrading to ember-data 1.13.1.

@kurko
Copy link
Collaborator

kurko commented Jul 30, 2015

@simonihmig can you try upgrading ED and confirm?

@simonihmig
Copy link
Author

Won't be able to do that for our app in question very soon, as the upgrade to 1.13.x is planned towards the end of the month...

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

3 participants