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

hasMany not working for embedded records with fetch #408

Open
jshy opened this issue Sep 8, 2014 · 0 comments
Open

hasMany not working for embedded records with fetch #408

jshy opened this issue Sep 8, 2014 · 0 comments

Comments

@jshy
Copy link

jshy commented Sep 8, 2014

I don't know if this is isolated to fetch or find also has the problem, but when fetching data, embedded record content is not loading correctly. The finally object has the _hasMany arrays, but no content. I tracked the problem to this

in Ember.Model.load() this._reloadHasManys(); and in _reloadHasManys(); the first line: if (!this._hasManyArrays) { return; } I placed a console.log() statement to see if this was getting hit and it was. I commented out the this._reloadHasManys(); line and everything works great now.

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

1 participant