Anyone noticed that when you apply an Identify Task with JSAPI 3 on an ArcGIS Server 10.5 map service polygon feature layer, the attributes behind/below the Shape.STLength() field (look in the layer property in the publishing MXD) are not returned in the Identify task Result? When we reordered the fields and put Shape* fields at the bottom, all the attributes showed up in the JavaScript response.
Bug?
+1 noticed the same issue. Thanks for the workaround moving the SHAPE field to the end, but looks like a bug to me!