laptop and a wrench

Bogue

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.

Dernière publication: January 18, 2022 ArcGIS Runtime SDK
Numéro d’ID de bogue BUG-000129618
EnvoiMarch 24, 2020
Dernière modificationJune 5, 2024
S’applique àArcGIS Runtime SDK
Version trouvée100.7
Système d’exploitationWindows OS
Version du système d’exploitation10.0
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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}

Étapes pour reproduire

ID de bogue: BUG-000129618

Logiciel:

  • ArcGIS Runtime SDK

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement