laptop and a wrench

Error

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

Última publicación: December 9, 2022 ArcGIS API for Python
Número de ID del error BUG-000153399
EnviadoNovember 1, 2022
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for Python
Versión encontrada1.9.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
Versión corregida2.1.0
EstadoFixed

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000153399

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga