{"action":"created","issue":{"url":"https://api.github.com/repos/matb33/meteor-collection-hooks/issues/130","labels_url":"https://api.github.com/repos/matb33/meteor-collection-hooks/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/matb33/meteor-collection-hooks/issues/130/comments","events_url":"https://api.github.com/repos/matb33/meteor-collection-hooks/issues/130/events","html_url":"https://github.com/matb33/meteor-collection-hooks/issues/130","id":90027440,"number":130,"title":"MongoError: '$set' is empty","user":{"login":"almogdesign","id":169507,"avatar_url":"https://avatars.githubusercontent.com/u/169507?v=3","gravatar_id":"","url":"https://api.github.com/users/almogdesign","html_url":"https://github.com/almogdesign","followers_url":"https://api.github.com/users/almogdesign/followers","following_url":"https://api.github.com/users/almogdesign/following{/other_user}","gists_url":"https://api.github.com/users/almogdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/almogdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almogdesign/subscriptions","organizations_url":"https://api.github.com/users/almogdesign/orgs","repos_url":"https://api.github.com/users/almogdesign/repos","events_url":"https://api.github.com/users/almogdesign/events{/privacy}","received_events_url":"https://api.github.com/users/almogdesign/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-22T06:50:40Z","updated_at":"2015-09-09T21:50:47Z","closed_at":null,"body":"I'm getting the following error and I thin it's do to the Collection Package\r\nMongoError: '$set' is empty. You must specify a field like so: {$mod: {<field>: ...}}\r\n\r\nLog \r\nat Object.collection.(anonymous function) [as update] (packages/matb33:collection-hooks/collection-hooks.js:103:1)\r\n    at [object Object].Mongo.Collection.(anonymous function) [as update] (packages/mongo/collection.js:575:1)\r\n    at Object.mfPkg.langUpdate (packages/msgfmt:core/lib/mfPkg/messageformat-server.js:126:1)\r\n    at Object.mfPkg.syncAll (packages/msgfmt:core/lib/mfPkg/messageformat-server.js:167:1)"},"comment":{"url":"https://api.github.com/repos/matb33/meteor-collection-hooks/issues/comments/139056106","html_url":"https://github.com/matb33/meteor-collection-hooks/issues/130#issuecomment-139056106","issue_url":"https://api.github.com/repos/matb33/meteor-collection-hooks/issues/130","id":139056106,"user":{"login":"jimmiebtlr","id":1325560,"avatar_url":"https://avatars.githubusercontent.com/u/1325560?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmiebtlr","html_url":"https://github.com/jimmiebtlr","followers_url":"https://api.github.com/users/jimmiebtlr/followers","following_url":"https://api.github.com/users/jimmiebtlr/following{/other_user}","gists_url":"https://api.github.com/users/jimmiebtlr/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmiebtlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmiebtlr/subscriptions","organizations_url":"https://api.github.com/users/jimmiebtlr/orgs","repos_url":"https://api.github.com/users/jimmiebtlr/repos","events_url":"https://api.github.com/users/jimmiebtlr/events{/privacy}","received_events_url":"https://api.github.com/users/jimmiebtlr/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T21:50:47Z","updated_at":"2015-09-09T21:50:47Z","body":"I'll take a shot in the dark.  Are you using collection2 + simple schema?  If so this can be caused by your insertion having the field removed before insertion."}}