laptop and a wrench

不具合

Running edits with arcpy.da.UpdateCursor does not update the editor tracking 'LastEdit' field.

ArcGIS Pro
不具合 ID 番号 BUG-000178635
送信されましたAugust 12, 2025
最終更新日December 15, 2025
適用対象ArcGIS Pro
見つかったバージョン3.4
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスIn Product Plan

対処法

Using the arcpy.da.Editor will create separate edit sessions in Python that will each have their own timestamp. Nesting each update within the context of its own arcpy.da.Editor edit session will create a separate timestamp for the "last edited" editor tracking field.

with arcpy.da.Editor("path\\to\\myFGDB.gdb") as edit:
    with arcpy.da.UpdateCursor("test_edit", "Num", where_clause="Num=1") as uc:
        for row in uc:
            uc.updateRow([row[0]+3])
with arcpy.da.Editor("path\\to\\myFGDB.gdb") as edit:
    with arcpy.da.UpdateCursor("test_edit", "Num", where_clause="Num=2") as uc:
        for row in uc:
            uc.updateRow([row[0]+3])

再現の手順

不具合 ID: BUG-000178635

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動