getoutreach / epf

A framework for keeping your Ember.js apps in sync.
http://epf.io
MIT License
369 stars 33 forks source link

Error "clientId has changed for" #80

Closed sebzincktiz closed 10 years ago

sebzincktiz commented 11 years ago
{{#each user in controller}}    
<li>{{user.name}}</li>
<ul>
{{#each contact in user.contacts}}  
<li>{{contact.name}}</li>
{{/each}}
</ul>
{{/each}}
</ul>

These loops trigger multiple GET request (App.Contact.find(id)) and throws the following error.

clientId has changed for <App.Contact:ember666:[521cca5c8635ff620600000f, contact3]>

Sometimes it didn't throws any error but HasMany array from User.contacts contains duplicates.

sebzincktiz commented 11 years ago

Seems to work fine when sideloading user's contacts. Maybe implementing "findMany" will solve the problem. Issue #79

ghempton commented 11 years ago

This definitely feels like a separate bug. Need to find a way to reproduce.

ghempton commented 10 years ago

EPF has since undergone some pretty big changes. I am going to close this for lack of a repro. Feel free to re-open if you still hit it.