Hi Isomorphic,
We have a server-side issue parsing a client-side generated JSON filter that contains a specific date/time criteria.
Thanks
SmartClient Version: SNAPSHOT_v10.1d_2015-10-25/Pro Deployment (built 2015-10-25)
JSON FILTER:
EXCEPTION:
We have a server-side issue parsing a client-side generated JSON filter that contains a specific date/time criteria.
Thanks
SmartClient Version: SNAPSHOT_v10.1d_2015-10-25/Pro Deployment (built 2015-10-25)
JSON FILTER:
Code:
{ "_constructor":"AdvancedCriteria", "operator":"and", "criteria":[ { "fieldName":"updatedOn", "operator":"greaterOrEqual", "value":new Date(1450328400000) } ] }
Code:
parse failure: com.isomorphic.js.parser.ParseException: Encountered " <IDENTIFIER> "Date "" at line 8, column 25. Was expecting one of: "," ... "}" ... "(" ... "," ... com.isomorphic.js.UnconvertableException: parse failure: com.isomorphic.js.parser.ParseException: Encountered " <IDENTIFIER> "Date "" at line 8, column 25. Was expecting one of: "," ... "}" ... "(" ... "," ... at com.isomorphic.js.JSTranslater.fromJS(JSTranslater.java:1968) at com.isomorphic.js.JSTranslater.fromJS(JSTranslater.java:1952) at com.isomorphic.criteria.AdvancedCriteria.decodeClientCriteria(AdvancedCriteria.java:252)
Comment