laptop and a wrench

Bug

The feature layer's fields return null values when the query enumeration 'Enums.QueryFeatureFieldsLoadAll' is applied to the feature layer before applying the 'Enums.QueryFeatureFieldsMinimum' query enumeration.

Zuletzt veröffentlicht: January 18, 2022 ArcGIS Runtime SDK
Bug-ID-Nummer BUG-000129618
EingereichtMarch 24, 2020
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Runtime SDK
Gefunden in Version100.7
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusWill Not Be Addressed

Zusätzliche Informationen

This issue seems to only happen when multiple queries with differing field options are executed simultaneously. If the minimum fields query is executed after the load all query is executed, but before it completes, the results seem to get modified such that the non-minimum fields are all null.

Workaround

Apply the 'Enums.QueryFeatureFieldsMinimum' enumeration to the feature layer before applying the 'Enums.QueryFeatureFieldsLoadAll' enumeration to solve the issue.

Example:

Apply the first enumeration: featureTable.queryFeaturesWithFieldOptions(queryParameters,Enums.QueryFeatureFieldsMinimum)

Apply the second enumeration:

featureTable.queryFeaturesWithFieldOptions(queryParameters, Enums.QueryFeatureFieldsLoadAll)

After running the application, the issue is not reproduced.

The query does not return null values for the fields of the feature layer:

qml: {"address":"1800 WASHINGTON ST","district":"2","objectid":13032690,"req_date":"09/17/2009","req_id":"506763","req_time":"08:15","req_type":"Graffiti Complaint - Public Property","status":1}

Schritte zur Reproduzierung

Bug-ID: BUG-000129618

Software:

  • ArcGIS Runtime SDK

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln