laptop and a wrench

Bug

Applying save edits on point feature class using Iworkspace Interface with"OnStopOperation" event causing ArcMap to crash.

Last Published: August 25, 2014 ArcGIS for Desktop
Bug ID Number NIM078914
SubmittedMarch 7, 2012
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.0
Program languageC#
Version FixedN/A
StatusFixed

Additional Information

This is as designed and documented. Event handlers should never change the state of the editor.

Workaround

In the OnStopOperation handler call execute on the save edits command. Dim saveUID As UID = New UIDsaveUID.Value = "esriEditor.SaveEditsCommand"Dim pDoc As IDocument = m_application.DocumentDim pCommandbars As ICommandBars = pDoc.CommandBarsDim pSaveEditC As ICommandItem = pCommandbars.Find(saveUID, True, False)pSaveEditC.Execute()

Steps to Reproduce

Bug ID: NIM078914

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options