laptop and a wrench

Bogue

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

Dernière publication: February 9, 2018 ArcGIS GIS Server
Numéro d’ID de bogue BUG-000110597
EnvoiJanuary 5, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS GIS Server
Version trouvée10.5
Système d’exploitationWindows OS
Version du système d’exploitation2012 R2
StatutWill Not Be Addressed

Informations supplémentaires

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.

Étapes pour reproduire

ID de bogue: BUG-000110597

Logiciel:

  • ArcGIS GIS Server

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement