laptop and a wrench

不具合

'reassign_to' fails with "AttributeError: 'Item' object has no attribute '_user_id'" because item objects are not properly initialized.

最後に公開された状態: March 15, 2019 ArcGIS API for Python
不具合 ID 番号 BUG-000120384
送信されましたFebruary 27, 2019
最終更新日June 5, 2024
適用対象ArcGIS API for Python
見つかったバージョン1.5.3
オペレーティング システムWindows OS
オペレーティング システムのバージョン2012 R2
修正されたバージョン1.6.0
ステータスFixed

対処法

For now, work around this issue by adding an additional line to the for loop that explicitly sets the value of the item source owner user ID:for item in usercontent:    item._user_id = 'sourceownerid'    try:        item.reassign_to(new_userid)    except Exception as e:        print("Item may have been already assigned to the user.")

再現の手順

不具合 ID: BUG-000120384

ソフトウェア:

  • ArcGIS API for Python

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

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

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

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

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

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

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