laptop and a wrench

漏洞

IncludedEffect property applies the effect to all the non-selected features after the selection is cleared in ArcGIS Maps SDK for JavaScript v4.29 application.

ArcGIS Maps SDK for JavaScript
漏洞 ID 编号 BUG-000167739
已提交May 22, 2024
上次修改时间December 6, 2024
适用范围ArcGIS Maps SDK for JavaScript
找到的版本4.29
操作系统Windows OS
操作系统版本10.0 64 Bit
状态As Designed

附加信息

The description is hard to follow in this issue. But the issue is indicating that the layer is showing every feature when the layerView.filter.objectIds is set to an empty array. Instead the user thinks it must hide every feature. This feature is working as intended and matches the server behavior. If the user does not want to show any features when the objectIds is an empty array, set the filter.where clause to 1 = 0. This ensured no features are visible. The FeatureFilter document to describe this behavior will be updated. Create an issue for JS API SDK to follow up on the documentation status.

解决办法

As a workaround, the code is modified to set FeatureEffect as null if no features are selected.

Sample code: https://codepen.io/RiddhiG/pen/eYaZbgR. 

重现步骤

漏洞 ID: BUG-000167739

软件:

  • ArcGIS Maps SDK for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项