laptop and a wrench

漏洞

A custom widget that adds or removes a KML layer works but returns an error in the console, "Cannot read property 'destroyLayerInfo' of null".

上次发布: August 1, 2017 ArcGIS Web AppBuilder for Developers
漏洞 ID 编号 BUG-000105948
已提交June 20, 2017
上次修改时间April 27, 2022
适用范围ArcGIS Web AppBuilder for Developers
找到的版本2.4
操作系统N/A
操作系统版本N/A
状态In Review

解决办法

If the below line is added after the line 840, the error does not appear anymore.if(layerInfoSelf != null){layerInfoSelf.destroyLayerInfo();}

重现步骤

漏洞 ID: BUG-000105948

软件:

  • ArcGIS Web AppBuilder for Developers

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项