laptop and a wrench

漏洞

While using the goTo() method of class "esri/views/MapView" in an application using ArcGIS API for JavaScript 4.6, it shows a couple of DEPRECATED warnings for "always()" and "catch()".

上次发布: February 9, 2018 ArcGIS GIS Server
漏洞 ID 编号 BUG-000110597
已提交January 5, 2018
上次修改时间June 5, 2024
适用范围ArcGIS GIS Server
找到的版本10.5
操作系统Windows OS
操作系统版本2012 R2
状态Will Not Be Addressed

附加信息

These warnings are expected in this version and are there to inform the users about an important change in our API. Please see more information in this blog: https://blogs.esri.com/esri/arcgis/2017/12/14/making-better-promises/ The then() method still works at 4.6, but throws warnings in the browser console. To prevent these warning messages from appearing, insert the below has flag into your code. Because this is an important breaking change, then() is not removed at 4.6, and is removed at a later version.

重现步骤

漏洞 ID: BUG-000110597

软件:

  • ArcGIS GIS Server

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项