laptop and a wrench

Bug

The following error message, "RuntimeError: Objects in this class cannot be updated outside an edit session [fc]" is returned when trying to use InsertCursor on a feature class with attachments.

Last Published: June 14, 2021 ArcGIS Pro
Bug ID Number BUG-000139940
SubmittedMay 17, 2021
Last ModifiedOctober 7, 2024
Applies toArcGIS Pro
Version found2.7.3
Operating SystemWindows OS
Operating System Version10.0
StatusNon-Reproducible

Additional Information

The issue is not reproducible in ArcGIS Pro 2.8.

Workaround

Keep attachments disabled, or start editing session (though that results in BUG-000139941).

Steps to Reproduce

Bug ID: BUG-000139940

Software:

  • ArcGIS Pro

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