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.

Last Published: January 18, 2022 ArcGIS Runtime SDK
Bug ID Number BUG-000129618
SubmittedMarch 24, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.7
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

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}

Steps to Reproduce

Bug ID: BUG-000129618

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options