{"action":"created","issue":{"url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/831","labels_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/831/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/831/comments","events_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/831/events","html_url":"https://github.com/aldeed/meteor-autoform/issues/831","id":64650567,"number":831,"title":"TypeError invalid IN Operand doc","user":{"login":"garenor","id":6201039,"avatar_url":"https://avatars.githubusercontent.com/u/6201039?v=3","gravatar_id":"","url":"https://api.github.com/users/garenor","html_url":"https://github.com/garenor","followers_url":"https://api.github.com/users/garenor/followers","following_url":"https://api.github.com/users/garenor/following{/other_user}","gists_url":"https://api.github.com/users/garenor/gists{/gist_id}","starred_url":"https://api.github.com/users/garenor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garenor/subscriptions","organizations_url":"https://api.github.com/users/garenor/orgs","repos_url":"https://api.github.com/users/garenor/repos","events_url":"https://api.github.com/users/garenor/events{/privacy}","received_events_url":"https://api.github.com/users/garenor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aldeed/meteor-autoform/labels/confirmed%20bug","name":"confirmed bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-26T22:48:39Z","updated_at":"2015-03-30T23:46:03Z","closed_at":"2015-03-30T23:41:48Z","body":"I have a form that I use for uploading images. I use AF for adding some metadata. When you click the upload button I use the click event to upload the file, and before that, calling a `AutoForm.validateForm()`; Using 5.0.3 this was working fine, but with 5.1 I get the following error:\r\n\r\n`TypeError: invalid 'in' operand doc`, on line 2542 of aldeed_simple_schema. Any ideas?"},"comment":{"url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/comments/87878547","html_url":"https://github.com/aldeed/meteor-autoform/issues/831#issuecomment-87878547","issue_url":"https://api.github.com/repos/aldeed/meteor-autoform/issues/831","id":87878547,"user":{"login":"aldeed","id":3012067,"avatar_url":"https://avatars.githubusercontent.com/u/3012067?v=3","gravatar_id":"","url":"https://api.github.com/users/aldeed","html_url":"https://github.com/aldeed","followers_url":"https://api.github.com/users/aldeed/followers","following_url":"https://api.github.com/users/aldeed/following{/other_user}","gists_url":"https://api.github.com/users/aldeed/gists{/gist_id}","starred_url":"https://api.github.com/users/aldeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldeed/subscriptions","organizations_url":"https://api.github.com/users/aldeed/orgs","repos_url":"https://api.github.com/users/aldeed/repos","events_url":"https://api.github.com/users/aldeed/events{/privacy}","received_events_url":"https://api.github.com/users/aldeed/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T23:46:03Z","updated_at":"2015-03-30T23:46:03Z","body":"Thanks for the good repro @garenor. Fixed in autoform 5.1.2"}}