{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/10792","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/10792/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/10792/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/10792/events","html_url":"https://github.com/emberjs/ember.js/issues/10792","id":65607484,"number":10792,"title":"CollectionView.attributeBindings are Broken in 1.11.0","user":{"login":"mmpestorich","id":979523,"avatar_url":"https://avatars.githubusercontent.com/u/979523?v=3","gravatar_id":"","url":"https://api.github.com/users/mmpestorich","html_url":"https://github.com/mmpestorich","followers_url":"https://api.github.com/users/mmpestorich/followers","following_url":"https://api.github.com/users/mmpestorich/following{/other_user}","gists_url":"https://api.github.com/users/mmpestorich/gists{/gist_id}","starred_url":"https://api.github.com/users/mmpestorich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmpestorich/subscriptions","organizations_url":"https://api.github.com/users/mmpestorich/orgs","repos_url":"https://api.github.com/users/mmpestorich/repos","events_url":"https://api.github.com/users/mmpestorich/events{/privacy}","received_events_url":"https://api.github.com/users/mmpestorich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-01T05:22:35Z","updated_at":"2015-04-01T14:41:48Z","closed_at":null,"body":"Using attributeBindings with a CollectionView generates the following error...\r\n\r\n`Uncaught Error: The morph before which the new morph is to be inserted is not a child of this morph.`\r\n\r\nHere's a jsbin illustrating the problem: http://emberjs.jsbin.com/wuqodo/3/\r\n\r\nIn this case it occurs when an item is added to the `CollectionView` after it initially renders while `ensureChildrenAreInDOM` is processing the `AttrNode` inside `Morph.prototype.insertBeforeMorph`. The `referenceMorph.parentMorph` is `null` and I assume that is should not be...\r\n\r\nThis might be related to issue #10601.\r\n"},"comment":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/comments/88509508","html_url":"https://github.com/emberjs/ember.js/issues/10792#issuecomment-88509508","issue_url":"https://api.github.com/repos/emberjs/ember.js/issues/10792","id":88509508,"user":{"login":"krisselden","id":61024,"avatar_url":"https://avatars.githubusercontent.com/u/61024?v=3","gravatar_id":"","url":"https://api.github.com/users/krisselden","html_url":"https://github.com/krisselden","followers_url":"https://api.github.com/users/krisselden/followers","following_url":"https://api.github.com/users/krisselden/following{/other_user}","gists_url":"https://api.github.com/users/krisselden/gists{/gist_id}","starred_url":"https://api.github.com/users/krisselden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krisselden/subscriptions","organizations_url":"https://api.github.com/users/krisselden/orgs","repos_url":"https://api.github.com/users/krisselden/repos","events_url":"https://api.github.com/users/krisselden/events{/privacy}","received_events_url":"https://api.github.com/users/krisselden/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T14:41:48Z","updated_at":"2015-04-01T14:41:48Z","body":"@mixonic we should move these from _childViews to _attrNodes and just change the Renderer to concat them with _childViews in the childViews hook.\r\n\r\n```js\r\nEmberRenderer.prototype.childViews = function childViews(view) {\r\n  return view.attrNodes.concat(view._childViews);\r\n};\r\n```"}}