laptop and a wrench

Bogue

The validate() method of the DataStoreManager class in the ArcGIS API for Python incorrectly returns False.

ArcGIS API for Python
Numéro d’ID de bogue BUG-000172692
EnvoiNovember 27, 2024
Dernière modificationApril 9, 2025
S’applique àArcGIS API for Python
Version trouvée2.4
Système d’exploitationWindows OS
Version du système d’exploitation11.0 64 bit
Version de correction2.4.1
StatutFixed

Informations supplémentaires

Reproduced and have a fix.

Solution de contournement

Adding a call to the datastore's properties.path when accessing the same datastore for a loop, for example, causes it to validate as True.

Example:

server_test = gis_114.admin.servers.list()[0]

 

for d_store in server_test.datastores.list():

   print(d_store.properties.path)

   print(d_store.validate())

Étapes pour reproduire

ID de bogue: BUG-000172692

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