{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/175","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/175/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/175/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-JS/issues/175","id":127613458,"number":175,"title":"relation query stopped working","user":{"login":"arcman77","id":9598327,"avatar_url":"https://avatars.githubusercontent.com/u/9598327?v=3","gravatar_id":"","url":"https://api.github.com/users/arcman77","html_url":"https://github.com/arcman77","followers_url":"https://api.github.com/users/arcman77/followers","following_url":"https://api.github.com/users/arcman77/following{/other_user}","gists_url":"https://api.github.com/users/arcman77/gists{/gist_id}","starred_url":"https://api.github.com/users/arcman77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcman77/subscriptions","organizations_url":"https://api.github.com/users/arcman77/orgs","repos_url":"https://api.github.com/users/arcman77/repos","events_url":"https://api.github.com/users/arcman77/events{/privacy}","received_events_url":"https://api.github.com/users/arcman77/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-01-20T06:11:07Z","updated_at":"2016-01-22T22:09:28Z","closed_at":"2016-01-21T03:42:35Z","body":"I can test the relations in the database console when I am logged into parse, but when I try to do a relational query on an object from my server it returns nothing. This code worked before and I haven't changed it. The list that I am console logging is empty.\r\n    \r\n    query.first().then(\r\n        function (object) {\r\n          var tempRelation  = object.relation(\"tempAlgos\");\r\n          tempRelation.query().find().then(\r\n            function (list){\r\n              console.log(\" list: \",list);\r\n            },\r\n            function (error){\r\n              console.log(\"error:\");\r\n              console.log(error);\r\n            }\r\n          )//end tempRelation.query().then()\r\n        },\r\n        function (error)  {\r\n          console.log(error)\r\n         }\r\n     );//end object .then()"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/comments/174068477","html_url":"https://github.com/ParsePlatform/Parse-SDK-JS/issues/175#issuecomment-174068477","issue_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/175","id":174068477,"user":{"login":"arcman77","id":9598327,"avatar_url":"https://avatars.githubusercontent.com/u/9598327?v=3","gravatar_id":"","url":"https://api.github.com/users/arcman77","html_url":"https://github.com/arcman77","followers_url":"https://api.github.com/users/arcman77/followers","following_url":"https://api.github.com/users/arcman77/following{/other_user}","gists_url":"https://api.github.com/users/arcman77/gists{/gist_id}","starred_url":"https://api.github.com/users/arcman77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcman77/subscriptions","organizations_url":"https://api.github.com/users/arcman77/orgs","repos_url":"https://api.github.com/users/arcman77/repos","events_url":"https://api.github.com/users/arcman77/events{/privacy}","received_events_url":"https://api.github.com/users/arcman77/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T22:09:28Z","updated_at":"2016-01-22T22:09:28Z","body":"If any of you has some time later today, I'd love the chance to use google hangouts or skype very quickly to show you the behavior I'm encountering. I've found that:\r\n1. The issues are actually independent of the user (contrary to what I said earlier)\r\n2. my tempAlgo queries only return 1 object, all other objects that get uploaded to the TempAlgo table are never returned in any query to the TempAlgo table. \r\n3. The one object that does get returned is an object that had been on that table for some time now, and I can't tell why its the only one that's getting returned - all other objects on that table have exactly the same fields filled out in the same way. "}}