laptop and a wrench

Bogue

The UndoManager class in ArcGIS API for JavaScript 3.x cannot undo an update to a feature after undoing the deletion of the feature.

Dernière publication: May 23, 2018 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000112701
EnvoiMarch 26, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée3.23
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

This is by design - since the Editor widget is not being used, you will need to listen to onUndoComplete and onRedoComplete and update the list of operations with the appropriate IDs. The Editor widget does this under the hood similarly to this, _updateUndoRedoOperations: function(event) { if (event && event.addedIds) { var i; for(i = 0; i < undoManager.length; i++) { var operation = undoManager.get(i); if (operation && event.layer === operation._featureLayer) { operation.updateObjectIds(event.oldIds, event.addedIds); } } } } It is important to note that the UndoManager is agnostic to operations. It does not know that a specific operation is for editing or something else.

Étapes pour reproduire

ID de bogue: BUG-000112701

Logiciel:

  • ArcGIS API for JavaScript

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