laptop and a wrench

Error

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()".

Última publicación: February 9, 2018 ArcGIS GIS Server
Número de ID del error BUG-000110597
EnviadoJanuary 5, 2018
Última modificaciónJune 5, 2024
Relacionado conArcGIS GIS Server
Versión encontrada10.5
Sistema operativoWindows OS
Versión de sistema operativo2012 R2
EstadoWill Not Be Addressed

Información adicional

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.

Pasos para reproducir

ID del error: BUG-000110597

Software:

  • ArcGIS GIS Server

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga