sgadenz

Does queryFeature parse the JSON response correctly?

Discussion created by sgadenz on Mar 15, 2013
Latest reply on Mar 15, 2013 by sgadenz
Dear all,

I am experiencing a strange behavior of the queryFeature method of a Feature Layer.
The parsing of the JSON, that is returned valid and correct by the server, creates cloned features that were not present in the original JSON object.
From a first analysis the problem is limited to the features having the same objectid field, that in my case is not the primary key of the layer. I can understand if this is the reason, but several other layers having the same duplicated objectid do not present the same problem and are parsed correctly.
The error is better explained in the attached pdf.  

Hope somebody can help.

Cheers

Simone

Outcomes