You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following query https://<arcgis_url>/FeatureServer/0/query?outSR=%7B%22wkid%22%3A4326%7D&outFields=*&resultOffset=0&where=id+IN+%28ENT-NLO-001%29&token=<token>&f=json requires to wrap ENT-NLO-001 with single quotes ' to get the expected answer as "id" is defined as esriFieldTypeString in the FeatureLayer. When I perform that query I get the right answer.
So I guess there is some problem checking the uniqueFieldType or the uniqueField in the following block:
Context
Using the sink of Arcgis I am getting the following error:
The subscription is configured to assign the value "id" to the
type
attribute:Problem
The following query
https://<arcgis_url>/FeatureServer/0/query?outSR=%7B%22wkid%22%3A4326%7D&outFields=*&resultOffset=0&where=id+IN+%28ENT-NLO-001%29&token=<token>&f=json
requires to wrapENT-NLO-001
with single quotes'
to get the expected answer as "id" is defined asesriFieldTypeString
in the FeatureLayer. When I perform that query I get the right answer.So I guess there is some problem checking the
uniqueFieldType
or theuniqueField
in the following block:fiware-cygnus/cygnus-common/src/main/java/com/telefonica/iot/cygnus/backends/arcgis/restutils/ArcgisFeatureTable.java
Lines 346 to 361 in bd11469
Expected behavior
It should perform the query as:
The text was updated successfully, but these errors were encountered: