laptop and a wrench

Error

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

Última publicación: May 23, 2018 ArcGIS API for JavaScript
Número de ID del error BUG-000112701
EnviadoMarch 26, 2018
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada3.23
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

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.

Pasos para reproducir

ID del error: BUG-000112701

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga