{"action":"created","issue":{"url":"https://api.github.com/repos/parse-community/parse-server/issues/4998","repository_url":"https://api.github.com/repos/parse-community/parse-server","labels_url":"https://api.github.com/repos/parse-community/parse-server/issues/4998/labels{/name}","comments_url":"https://api.github.com/repos/parse-community/parse-server/issues/4998/comments","events_url":"https://api.github.com/repos/parse-community/parse-server/issues/4998/events","html_url":"https://github.com/parse-community/parse-server/issues/4998","id":352350738,"node_id":"MDU6SXNzdWUzNTIzNTA3Mzg=","number":4998,"title":"LiveQuery returns originalObject instead of Update","user":{"login":"dplewis","id":9830365,"node_id":"MDQ6VXNlcjk4MzAzNjU=","avatar_url":"https://avatars3.githubusercontent.com/u/9830365?v=4","gravatar_id":"","url":"https://api.github.com/users/dplewis","html_url":"https://github.com/dplewis","followers_url":"https://api.github.com/users/dplewis/followers","following_url":"https://api.github.com/users/dplewis/following{/other_user}","gists_url":"https://api.github.com/users/dplewis/gists{/gist_id}","starred_url":"https://api.github.com/users/dplewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dplewis/subscriptions","organizations_url":"https://api.github.com/users/dplewis/orgs","repos_url":"https://api.github.com/users/dplewis/repos","events_url":"https://api.github.com/users/dplewis/events{/privacy}","received_events_url":"https://api.github.com/users/dplewis/received_events","type":"User","site_admin":false},"labels":[{"id":779167226,"node_id":"MDU6TGFiZWw3NzkxNjcyMjY=","url":"https://api.github.com/repos/parse-community/parse-server/labels/needs%20investigation","name":"needs investigation","color":"3bb0d3","default":false},{"id":318400087,"node_id":"MDU6TGFiZWwzMTg0MDAwODc=","url":"https://api.github.com/repos/parse-community/parse-server/labels/up-for-grabs","name":"up-for-grabs","color":"009800","default":false},{"id":1060490613,"node_id":"MDU6TGFiZWwxMDYwNDkwNjEz","url":"https://api.github.com/repos/parse-community/parse-server/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-21T01:19:42Z","updated_at":"2018-12-07T15:31:52Z","closed_at":null,"author_association":"MEMBER","body":"### Issue Description\r\n\r\nusing `subscription.on('update', (object))` works but returns original object when a pointer is unset\r\nIt does work when the pointer it changed to a different pointer but not on unset\r\n\r\n### Steps to reproduce\r\n\r\n1. Set a pointer field in dashboard\r\n2. call subscription to on update\r\n3. Unset / delete value in pointer field in dashboard\r\n \r\n### Expected Results\r\n\r\nUpdated object to have pointer field unset / not returned\r\n\r\n### Actual Outcome\r\n\r\nUpdated object has old pointer field value\r\n\r\n### Environment Setup\r\n\r\n- **Server**\r\n  - parse-server version (Be specific! Don't say 'latest'.) : 3.0\r\n  - Operating System:     Mac OSX\r\n  - Hardware:             [FILL THIS OUT]\r\n  - Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc):  Localhost\r\n\r\n- **Database**\r\n  - MongoDB version: 3.4\r\n  - Storage engine:  mmapv1\r\n  - Hardware:        [FILL THIS OUT]\r\n  - Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): mLab\r\n\r\n### Logs/Trace\r\n\r\n<!--- Include all relevant logs. You can turn on additional logging by configuring VERBOSE=1 in your environment. --->\r\n"},"comment":{"url":"https://api.github.com/repos/parse-community/parse-server/issues/comments/445268445","html_url":"https://github.com/parse-community/parse-server/issues/4998#issuecomment-445268445","issue_url":"https://api.github.com/repos/parse-community/parse-server/issues/4998","id":445268445,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTI2ODQ0NQ==","user":{"login":"joshuadiezmo","id":8644115,"node_id":"MDQ6VXNlcjg2NDQxMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/8644115?v=4","gravatar_id":"","url":"https://api.github.com/users/joshuadiezmo","html_url":"https://github.com/joshuadiezmo","followers_url":"https://api.github.com/users/joshuadiezmo/followers","following_url":"https://api.github.com/users/joshuadiezmo/following{/other_user}","gists_url":"https://api.github.com/users/joshuadiezmo/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuadiezmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuadiezmo/subscriptions","organizations_url":"https://api.github.com/users/joshuadiezmo/orgs","repos_url":"https://api.github.com/users/joshuadiezmo/repos","events_url":"https://api.github.com/users/joshuadiezmo/events{/privacy}","received_events_url":"https://api.github.com/users/joshuadiezmo/received_events","type":"User","site_admin":false},"created_at":"2018-12-07T15:31:52Z","updated_at":"2018-12-07T15:31:52Z","author_association":"NONE","body":"I think this is not live query problem. I check the variables that live query pass to my javascript sdk. and when I unset the pointer, it gives me object without the pointer. but when I console.log the object, the pointer are still on my object. the problem was on the javascript SDK."}}
{"actor":{"display_login":"joshuadiezmo"}}