Executing a query against featurelayer:
var queryTask = new Query(layer.url) ;
var esriQuery = new EsriQuery() ;
esriQuery.outFields = ["*"] ;
esriQuery.where = query.where;
esriQuery.where = "1=1";
get the following error:
This error occurs for some featurelayers, and works for at least one of them used.
Might this go away by upgrading to the latest version? Currently using 3.10.