{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1269","repository_url":"https://api.github.com/repos/Urigo/angular-meteor","labels_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1269/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1269/comments","events_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1269/events","html_url":"https://github.com/Urigo/angular-meteor/issues/1269","id":139908138,"number":1269,"title":"Problem of inheritance with 1.3.7","user":{"login":"ThomsCass","id":10784312,"avatar_url":"https://avatars.githubusercontent.com/u/10784312?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomsCass","html_url":"https://github.com/ThomsCass","followers_url":"https://api.github.com/users/ThomsCass/followers","following_url":"https://api.github.com/users/ThomsCass/following{/other_user}","gists_url":"https://api.github.com/users/ThomsCass/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomsCass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomsCass/subscriptions","organizations_url":"https://api.github.com/users/ThomsCass/orgs","repos_url":"https://api.github.com/users/ThomsCass/repos","events_url":"https://api.github.com/users/ThomsCass/events{/privacy}","received_events_url":"https://api.github.com/users/ThomsCass/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-10T14:44:57Z","updated_at":"2016-03-14T08:45:47Z","closed_at":null,"body":"Hi,\r\n\r\nRelated to this post #1265 and this one #1263\r\n\r\nI think there is something broken when we use `$reactive(this).attach($scope)` in a child view like a mdDialog.\r\n\r\nThis error will be thrown :\r\n\r\n```javascript\r\nError: Cannot read property 'splice' of undefined\r\nTypeError: Cannot read property 'splice' of undefined\r\n    at Object.addedAt (angular-meteor.js:2148)\r\n    at observeChangesCallbacks.addedBefore (observe.js:96)\r\n    at Object.self.applyChange.addedBefore (observe.js:33)\r\n    at minimongo.js:371\r\n    at _.extend.runTask (fiber_stubs_client.js:42)\r\n    at _.extend.flush (fiber_stubs_client.js:70)\r\n    at _.extend.drain (fiber_stubs_client.js:78)\r\n    at LocalCollection.insert (minimongo.js:579)\r\n```\r\n\r\n@Urigo Here is the repo that reproduce the error, simply add a item and you will see the error appear in the console https://github.com/ThomsCass/angular-meteor-inheritance.git\r\n\r\nHope it helps\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/comments/196207060","html_url":"https://github.com/Urigo/angular-meteor/issues/1269#issuecomment-196207060","issue_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/1269","id":196207060,"user":{"login":"ThomsCass","id":10784312,"avatar_url":"https://avatars.githubusercontent.com/u/10784312?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomsCass","html_url":"https://github.com/ThomsCass","followers_url":"https://api.github.com/users/ThomsCass/followers","following_url":"https://api.github.com/users/ThomsCass/following{/other_user}","gists_url":"https://api.github.com/users/ThomsCass/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomsCass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomsCass/subscriptions","organizations_url":"https://api.github.com/users/ThomsCass/orgs","repos_url":"https://api.github.com/users/ThomsCass/repos","events_url":"https://api.github.com/users/ThomsCass/events{/privacy}","received_events_url":"https://api.github.com/users/ThomsCass/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T08:45:47Z","updated_at":"2016-03-14T08:45:47Z","body":"Any news with this bug ?"}}