I have an issue with remote objects: I run the following code:
<apex:remoteObjectModel name="Case" jsShorthand="case"
fields="Subject,Id,CaseNumber,CreatedDate,Status,Description,IsClosed,Priority,Type"/>
var cases = new SObjectModel.Case();
cases.retrieve({where: {IsClosed: {eq: false}}}
, function(error, records) {
});
and the error is:
Error occurred while performing RETRIEVE operation on sobject: Case with data: {where={IsClosed={eq=true}}} (MALFORMED_QUERY:
subject, createddate, id, casenumber, _cid FROM Case WHERE IsClosed =
^
ERROR at Row:1:Column:76
line 1:76 no viable alternative at character '_')
Well, yesterday it was working ok. What can be wrong with this part?