-
-
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
TypeError: Ember.A(...).mapBy is not a function #3466
Comments
Hey @billpull! What does your payload look like and what serializer are you using? Would you be able to put together a JSBin demonstrating this issue? Makes it much easier to debug. |
@wecc I'm getting this as well. It's a blocking issue and I can't load any routes.
here's the serializer I have, also, Ember @1.13.0 and Ember-Data @1.13.4 and ember-cli @0.2.7 |
@liamcoau I was also getting this error when using
I am using the default |
Yes, I implemented queryRecord on my adapter. I also implemented urlForQueryRecord. |
@liamcoau thanks, I'll do that then. I thought it was a default method in RESTAdapter. |
@liamcoau can you link me to an example of your adapter implementation
|
Here's the full adapter: Here's an example of how it's called:
I had to do some "munging" with the id, since I needed to pass that along but the third parameter is a snapshot (not actually sure how that's supposed to be used?)... |
@billpull also I know you should avoid this.session.content.etc if you can in favour of session.get("etc") |
Sure! |
Is there a solution to this? |
@IsaiahJTurner what version of Ember Data are you using? I believe this bug was fixed in ember-data 1.13.7. |
I'm getting this error as well when I use |
@btecu do you mind sharing a stack trace for this error? |
|
@bmac If the stack trace is not enough, I could probably create a repository with this issue. |
…sponse of `adapter.query` Closes emberjs#3466
Getting this error after loading a payload via
store.query()
TypeError: Ember.A(...).mapBy is not a function at ember$data$lib$system$record$arrays$record$array$$default.extend.loadRecords (adapter-populated-record-array.js:54)
Ember: 1.13.2
Ember-Data: 1.13.4
The text was updated successfully, but these errors were encountered: