laptop and a wrench

Erro

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 Publicação: May 23, 2018 ArcGIS API for JavaScript
Número de ID do Erro BUG-000112701
EnviadoMarch 26, 2018
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS API for JavaScript
Versão encontrada3.23
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

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.

Etapas para Reproduzir

ID do Erro: BUG-000112701

Software:

  • ArcGIS API for JavaScript

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download