I am getting the above error (init.js:919 API v3.14) identifying a feature in a javascript map viewer, when calling `infoWindow.setFeatures(featureSet);`. The problem is caused by a map service having field aliases with trailing colons in them. The following is part of the json returned from the map service query (geometry removed).
I can see the problem, but not sure how to go about fixing it? Is it caused by the json deserialization, serialization by the REST API (10.3.1 server), or a bug in the javascript API?
If I only choose outfields that have no trailing colon, it works. I have no control over the offending map service.
{<BR />"results":[{<BR /> "layerId":37,<BR /> "layerName":"Waste Water Lateral",<BR /> "displayFieldName":"Unit ID:",<BR /> "value":"NP-MANGO0131SL/1",<BR /> "attributes":{<BR /> "OBJECTID":"2474425",<BR /> "Depth":"0.6",<BR /> "SHAPE":"Polyline",<BR /> "Install":"Null",<BR /> "Unit ID:":"NP-MANGO0131SL/1",<BR /> "Owner:":"W&W",<BR /> "Asset ID:":"115807",<BR /> "Comments:":"Null",<BR /> "NPDC_VECTOR_SDEADMIN_SVEW_WWLATERAL_area":"NP",<BR /> "SHAPE_Length":"8.117518"<BR /> },<BR /> "geometryType":"esriGeometryPolyline"
// geometry removed <BR /> }<BR />}]