{"action":"created","issue":{"url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/64","labels_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/64/comments","events_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/64/events","html_url":"https://github.com/Urigo/meteor-angular-socially/issues/64","id":108533387,"number":64,"title":"Step 6 - Bind one object","user":{"login":"steveperx","id":6133025,"avatar_url":"https://avatars.githubusercontent.com/u/6133025?v=3","gravatar_id":"","url":"https://api.github.com/users/steveperx","html_url":"https://github.com/steveperx","followers_url":"https://api.github.com/users/steveperx/followers","following_url":"https://api.github.com/users/steveperx/following{/other_user}","gists_url":"https://api.github.com/users/steveperx/gists{/gist_id}","starred_url":"https://api.github.com/users/steveperx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveperx/subscriptions","organizations_url":"https://api.github.com/users/steveperx/orgs","repos_url":"https://api.github.com/users/steveperx/repos","events_url":"https://api.github.com/users/steveperx/events{/privacy}","received_events_url":"https://api.github.com/users/steveperx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-27T13:02:12Z","updated_at":"2015-09-28T03:27:20Z","closed_at":null,"body":"In this step, following your tutorial to the letter, I find that there seems to be a bug in the meteorObject.save() code... or at least, it doesn't behave as if I would expect.\r\n\r\nIf I pull up a Party details page, but make no changes to the details and hit the Save button, it overwrites the name and description of the Party object with empty strings The text in the `<input>` boxes disappears indicating the Party object has no text in the name and description properties. This change is persisted to the server, and returning to the Parties List page sows that party with a blank title and a blank description.\r\n\r\nIs this the expected behavior? I note that if I DO make changes to the data in the textboxes, everything seems to work fine. I haven't dug into the angular-meteor source code for meteorObject, but I suspect this has something to do with the save() method?\r\n\r\nHere is the code I'm using (should be exactly your code in the tutorial):\r\n\r\n#### PartyDetailsCtrl\r\n\r\n```javascript\r\nangular.module(\"socially\").controller(\"PartyDetailsCtrl\", ['$scope', '$stateParams', '$meteor', function($scope, $stateParams, $meteor){\r\n\r\n      $scope.party = $meteor.object(Parties, $stateParams.partyId, false);\r\n\r\n      $scope.save = function() {\r\n        $scope.party.save()\r\n          .then(function(numberOfDocs){\r\n            console.log('save success doc affected ', numberOfDocs);\r\n        })\r\n          .catch(function(error){\r\n            console.log('save error', error);\r\n        });\r\n      };\r\n\r\n      $scope.reset = function() {\r\n        $scope.party.reset();\r\n      };\r\n\r\n    }]);\r\n```\r\n\r\n#### party-details.ng.html\r\n\r\n```javascript\r\nHere you will see the details of the party:\r\n\r\n<input ng-model=\"party.name\">\r\n<input ng-model=\"party.description\">\r\n\r\n<button ng-click=\"save()\">Save</button>\r\n<button ng-click=\"reset()\">Reset form</button>\r\n<button ui-sref=\"parties\">Cancel</button>\r\n```"},"comment":{"url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/comments/143629854","html_url":"https://github.com/Urigo/meteor-angular-socially/issues/64#issuecomment-143629854","issue_url":"https://api.github.com/repos/Urigo/meteor-angular-socially/issues/64","id":143629854,"user":{"login":"Urigo","id":1297448,"avatar_url":"https://avatars.githubusercontent.com/u/1297448?v=3","gravatar_id":"","url":"https://api.github.com/users/Urigo","html_url":"https://github.com/Urigo","followers_url":"https://api.github.com/users/Urigo/followers","following_url":"https://api.github.com/users/Urigo/following{/other_user}","gists_url":"https://api.github.com/users/Urigo/gists{/gist_id}","starred_url":"https://api.github.com/users/Urigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Urigo/subscriptions","organizations_url":"https://api.github.com/users/Urigo/orgs","repos_url":"https://api.github.com/users/Urigo/repos","events_url":"https://api.github.com/users/Urigo/events{/privacy}","received_events_url":"https://api.github.com/users/Urigo/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T03:27:20Z","updated_at":"2015-09-28T03:27:20Z","body":"@steveperx can you please update your `angular` package to `angular@1.0.0-rc.11` and let me know if that helped"}}