Numéro d’ID de bogue |
BUG-000155243 |
Envoi | January 20, 2023 |
Dernière modification | June 23, 2025 |
S’applique à | ArcGIS Pro |
Version trouvée | 3.0.3 |
Système d’exploitation | Windows OS |
Version du système d’exploitation | 10.0 64 Bit |
Statut | Known Limit
Après examen par l’équipe de développement, il a été déterminé que ce problème est lié à une limitation connue du logiciel sur laquelle Esri n’a aucun contrôle. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
Error 160250 "Objects in this class cannot be updated outside an edit session" raised when running the Append tool with the Enable Undo toggle enabled is a known limitation for non-versioned target feature classes in enterprise geodatabases. An edit session supporting undo for non-versioned feature classes in an enterprise geodatabase is not currently supported.
As a workaround, beginning in ArcGIS Pro 3.5, the Append Geoprocessing tool can be run with an "Enable Undo" capability limited to discard/save operations only.
This can be accomplished using the following steps:
1. In ArcGIS Pro, open the Options window -> Editing page -> Session -> check "Enable and disable editing from the Edit tab." Select the "Single workspace edit session." Click OK.
2. On the Edit tab, click "Enable Editing."
3. In the Choose Workspace popup window, select the Enterprise Geodatabase containing the target dataset for the Append operation.
4. Open and Run the Append tool. Note that a banner near the top of the tool dialog box indicates the pending edits. Pending edits can be saved or discarded.
For more information on edit session options, refer to https://pro.arcgis.com/en/pro-app/latest/help/editing/editing-options.htm and the "Single-workspace edit session" section of https://pro.arcgis.com/en/pro-app/latest/help/editing/enable-and-disable-editing.htm
Solution de contournement
Use the "Single-workspace edit session" to execute the Append operation with a non-versioned feature class as the target in an enterprise geodatabase, after which you can discard the changes.
Étapes pour reproduire