laptop and a wrench

Bug

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

Last Published: December 9, 2022 ArcGIS API for Python
Bug ID Number BUG-000153399
SubmittedNovember 1, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found1.9.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed2.1.0
StatusFixed

Workaround

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.

Steps to Reproduce

Bug ID: BUG-000153399

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options