{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1487","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1487/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1487/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1487/events","html_url":"https://github.com/ParsePlatform/parse-server/pull/1487","id":148357048,"number":1487,"title":"Checking if object has defined key for Pointer constraints in liveQuery","user":{"login":"simonas-notcat","id":16773277,"avatar_url":"https://avatars.githubusercontent.com/u/16773277?v=3","gravatar_id":"","url":"https://api.github.com/users/simonas-notcat","html_url":"https://github.com/simonas-notcat","followers_url":"https://api.github.com/users/simonas-notcat/followers","following_url":"https://api.github.com/users/simonas-notcat/following{/other_user}","gists_url":"https://api.github.com/users/simonas-notcat/gists{/gist_id}","starred_url":"https://api.github.com/users/simonas-notcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonas-notcat/subscriptions","organizations_url":"https://api.github.com/users/simonas-notcat/orgs","repos_url":"https://api.github.com/users/simonas-notcat/repos","events_url":"https://api.github.com/users/simonas-notcat/events{/privacy}","received_events_url":"https://api.github.com/users/simonas-notcat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/GH%20Review:%20review-needed","name":"GH Review: review-needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-14T13:10:24Z","updated_at":"2016-04-14T14:15:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/1487","html_url":"https://github.com/ParsePlatform/parse-server/pull/1487","diff_url":"https://github.com/ParsePlatform/parse-server/pull/1487.diff","patch_url":"https://github.com/ParsePlatform/parse-server/pull/1487.patch"},"body":"If there is a liveQuery subscription, with Pointer type constrains (e.g.\nquery.equalTo('user', Parse.User.current())), and new object has\nundefined value for that field, we get this error:\n\nerror: Uncaught internal server error. [TypeError: Cannot read\nproperty 'className' of undefined] TypeError: Cannot read property\n'className' of undefined\nat matchesKeyConstraints\n(…/node_modules/parse-server/lib/LiveQuery/QueryTools.js:145:51)"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/209964373","html_url":"https://github.com/ParsePlatform/parse-server/pull/1487#issuecomment-209964373","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1487","id":209964373,"user":{"login":"facebook-github-bot","id":6422482,"avatar_url":"https://avatars.githubusercontent.com/u/6422482?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook-github-bot","html_url":"https://github.com/facebook-github-bot","followers_url":"https://api.github.com/users/facebook-github-bot/followers","following_url":"https://api.github.com/users/facebook-github-bot/following{/other_user}","gists_url":"https://api.github.com/users/facebook-github-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook-github-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook-github-bot/subscriptions","organizations_url":"https://api.github.com/users/facebook-github-bot/orgs","repos_url":"https://api.github.com/users/facebook-github-bot/repos","events_url":"https://api.github.com/users/facebook-github-bot/events{/privacy}","received_events_url":"https://api.github.com/users/facebook-github-bot/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T14:15:46Z","updated_at":"2016-04-14T14:15:46Z","body":"@simonas-notcat updated the pull request."}}