laptop and a wrench

漏洞

ArcGIS API for Python method reassign_to() from the user class raises an exception when transferring content with dependencies.

上次发布: December 9, 2022 ArcGIS API for Python
漏洞 ID 编号 BUG-000153399
已提交November 1, 2022
上次修改时间June 5, 2024
适用范围ArcGIS API for Python
找到的版本1.9.1
操作系统Windows OS
操作系统版本10.0 64 Bit
修正版本2.1.0
状态Fixed

解决办法

Transfer ownership manually from the item class, using the reassign_to() method looping over all owned items; group membership must also be explicitly transferred by code.

The code must wrap the method in a try-catch structure because when transferring dependent items, it also crashes if using an item.reassign_to() directly over a dependent item. It works fine when transferring the parent item, not the children. Therefore, the need for the try-catch.

重现步骤

漏洞 ID: BUG-000153399

软件:

  • ArcGIS API for Python

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项