laptop and a wrench

漏洞

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.

上次发布: January 18, 2022 ArcGIS Runtime SDK
漏洞 ID 编号 BUG-000129618
已提交March 24, 2020
上次修改时间June 5, 2024
适用范围ArcGIS Runtime SDK
找到的版本100.7
操作系统Windows OS
操作系统版本10.0
状态Will Not Be Addressed

附加信息

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.

解决办法

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}

重现步骤

漏洞 ID: BUG-000129618

软件:

  • ArcGIS Runtime SDK

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项