Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1696] ACS.Objects.query returning false result with $and where condition

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2015-07-03T23:44:41.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsTCSupportTriage, acs, customobjects, query
ReporterPeter Rockey
AssigneeMostafizur Rahman
Created2015-01-27T09:53:30.000+0000
Updated2016-03-08T07:38:11.000+0000

Description

Hi Team, Where 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. I 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. here is the $conditon i am using { "$and" : [{ "deviceToken" : deviceToken }, { "AlertId" : AlertId }] } Have anyone faced similar issue? It will be great if there is any fix to this issue.

Comments

  1. Shuo Liang 2015-01-28

    Hi, I had ran many test on this, still can't reproduce your problem. Would 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. Regards, Shuo
  2. Mauro Parra-Miranda 2015-02-02

    Please provide a full testcase in the form of app.js.

JSON Source