{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/800","labels_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/800/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/800/comments","events_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/800/events","html_url":"https://github.com/Urigo/angular-meteor/issues/800","id":114141976,"number":800,"title":"Possible Object/Autosave Bug","user":{"login":"cantoine","id":235904,"avatar_url":"https://avatars.githubusercontent.com/u/235904?v=3","gravatar_id":"","url":"https://api.github.com/users/cantoine","html_url":"https://github.com/cantoine","followers_url":"https://api.github.com/users/cantoine/followers","following_url":"https://api.github.com/users/cantoine/following{/other_user}","gists_url":"https://api.github.com/users/cantoine/gists{/gist_id}","starred_url":"https://api.github.com/users/cantoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantoine/subscriptions","organizations_url":"https://api.github.com/users/cantoine/orgs","repos_url":"https://api.github.com/users/cantoine/repos","events_url":"https://api.github.com/users/cantoine/events{/privacy}","received_events_url":"https://api.github.com/users/cantoine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-29T20:44:12Z","updated_at":"2015-11-10T23:35:15Z","closed_at":"2015-11-10T23:35:15Z","body":"I think I've hit on a bug(or I'm being completely stupid and missing something) in the $meteorObject/autosave functionality. I've created a reproduction here: https://github.com/cantoine/autosave-reproduction\r\n\r\nThe basics of it are that as soon as a route is loaded if $scope.$meteorObject is used there will be an update triggered which can be seen from the collection hook before event being fired off on the client and the server. \r\n\r\nIf I switch to using $scope.$meteorCollection even with autosave turned on this does not happen and I'm not sure if this is expected behavior(if it is I'm very confused by it) or if the update should not be triggered upon load/state change.\r\n\r\nI've added test data into the reproduction that gets inserted upon startup in attempt to show exactly what I'm doing when this is happening.\r\n\r\nHopefully this makes sense and the reproduction helps.\r\n\r\nThanks!\r\nChris"},"comment":{"url":"https://api.github.com/repos/Urigo/angular-meteor/issues/comments/155602439","html_url":"https://github.com/Urigo/angular-meteor/issues/800#issuecomment-155602439","issue_url":"https://api.github.com/repos/Urigo/angular-meteor/issues/800","id":155602439,"user":{"login":"cantoine","id":235904,"avatar_url":"https://avatars.githubusercontent.com/u/235904?v=3","gravatar_id":"","url":"https://api.github.com/users/cantoine","html_url":"https://github.com/cantoine","followers_url":"https://api.github.com/users/cantoine/followers","following_url":"https://api.github.com/users/cantoine/following{/other_user}","gists_url":"https://api.github.com/users/cantoine/gists{/gist_id}","starred_url":"https://api.github.com/users/cantoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cantoine/subscriptions","organizations_url":"https://api.github.com/users/cantoine/orgs","repos_url":"https://api.github.com/users/cantoine/repos","events_url":"https://api.github.com/users/cantoine/events{/privacy}","received_events_url":"https://api.github.com/users/cantoine/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T23:35:15Z","updated_at":"2015-11-10T23:35:15Z","body":"1.2.1 solves the issue, thanks for all the help @Urigo @DAB0mB "}}