{ "id": "143556", "key": "AC-1696", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-07-03T23:44:41.000+0000", "created": "2015-01-27T09:53:30.000+0000", "labels": [ "TCSupportTriage", "acs", "customobjects", "query" ], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-08T07:38:11.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Hi Team,\r\n\r\nWhere I am trying to query custom object using where field with $and condition , it returning false result for some reason.The thing is, its not occurring always , but for some time.\r\n\r\nI am running a batch job to do a duplication check and it work fine for one or two days with correct result, but after that it fail.\r\n\r\nhere is the $conditon i am using\r\n\r\n{\r\n\"$and\" : [{\r\n\t\"deviceToken\" : deviceToken\r\n\t}, {\r\n\t\"AlertId\" : AlertId\r\n}]\r\n}\r\n\r\nHave anyone faced similar issue? It will be great if there is any fix to this issue.", "attachment": [], "flagged": false, "summary": "ACS.Objects.query returning false result with $and where condition", "creator": { "name": "peterkr", "key": "peterkr", "displayName": "Peter Rockey", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "peterkr", "key": "peterkr", "displayName": "Peter Rockey", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "development", "comment": { "comments": [ { "id": "340893", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nI had ran many test on this, still can't reproduce your problem. \r\n\r\nWould you please tell us what you mean about false result, there is no data return or just return wrong one. In the meanwhile, please provide the wrong data example to show your problem.\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-01-28T01:01:31.000+0000", "updated": "2015-01-28T01:01:31.000+0000" }, { "id": "341652", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Please provide a full testcase in the form of app.js.", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2015-02-02T17:24:33.000+0000", "updated": "2015-02-02T17:24:33.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }