The arcpy.da.Editor class does not properly utilize an edit session to edit feature classes participating in a composite relationship class when the 'with' statement is used.
最後に公開された状態: February 18, 2016ArcSDE/Enterprise Geodatabase
不具合 ID 番号
BUG-000094056
送信されました
February 8, 2016
最終更新日
April 2, 2025
適用対象
ArcSDE/Enterprise Geodatabase
見つかったバージョン
10.3.1
ステータス
Will Not Be Addressed
開発チームは、この問題またはリクエストを検討した結果、これに対処しないことに決定しました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.
対処法
Explicitly open an edit session and operation:
# Start an edit session. Must provide the workspace.
edit = arcpy.da.Editor(arcpy.env.workspace)
# Start an edit session.
edit.startEditing(False,False)
# Start an edit operation.
edit.startOperation()
# Edit the data.
# Stop the edit operation.
edit.stopOperation()
# Stop the edit session and save the changes.
edit.stopEditing(True)