| Numéro d’ID de bogue |
BUG-000180577 |
| Envoi | October 30, 2025 |
| Dernière modification | November 6, 2025 |
| S’applique à | ArcGIS Online |
| Version trouvée | October 2025 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 11.0 64 bit |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
This is expected and wont be addressed this change was made to address an Arcade cross platform inconsistency around variable hoisting. This script worked in JavaScript unintentionally, but will not work in ArcGIS Pro and ArcGIS Runtime. This has been harmonized and will now become an error in this scenario (where the variable is only initialized under certain conditions and therefor undefined in the script under certain conditions).
In this specific expression the variable `statement` needs to be initialized outside of the `if` statement or you need the `else` statement and initialize it there to make sure it gets universally initialized base on the flow conditions.
Refer to this link: https://developers.arcgis.com/arcade/guide/release-notes/ for more information.
Étapes pour reproduire
ID de bogue: BUG-000180577
Logiciel: