laptop and a wrench

Bogue

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

Dernière publication: December 9, 2022 ArcGIS API for Python
Numéro d’ID de bogue BUG-000153399
EnvoiNovember 1, 2022
Dernière modificationJune 5, 2024
S’applique àArcGIS API for Python
Version trouvée1.9.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction2.1.0
StatutFixed

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000153399

Logiciel:

  • ArcGIS API for Python

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement