laptop and a wrench

Bug

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

Zuletzt veröffentlicht: May 23, 2018 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000112701
EingereichtMarch 26, 2018
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version3.23
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000112701

Software:

  • ArcGIS API for JavaScript

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