-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
FixtureAdapter.find() returns undefined when model not found #1813
Comments
Seems related to #1767 |
It seems that there's no code path in |
I have a tailored FixtureAdapter which calls an overridable Would you be interested in a minimal PR implementing this, with |
I think it would suffice to |
The The code for |
Rather than throwing the appropriate model not found exception in the event of a request for a non-extant id, FixtureAdapter returns undefined which breaks an assertion in Store._find(), which is unhandleable and breaks the whole app.
This is with ember-data 1.0.0beta7. I'm using EAK if that matters.
The text was updated successfully, but these errors were encountered: