laptop and a wrench

Bug

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

Zuletzt veröffentlicht: February 9, 2018 ArcGIS GIS Server
Bug-ID-Nummer BUG-000110597
EingereichtJanuary 5, 2018
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS GIS Server
Gefunden in Version10.5
BetriebssystemWindows OS
Betriebssystemversion2012 R2
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000110597

Software:

  • ArcGIS GIS Server

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln