laptop and a wrench

漏洞

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

ArcGIS API for Python
漏洞 ID 编号 BUG-000172692
已提交November 27, 2024
上次修改时间April 9, 2025
适用范围ArcGIS API for Python
找到的版本2.4
操作系统Windows OS
操作系统版本11.0 64 bit
修正版本2.4.1
状态Fixed

附加信息

Reproduced and have a fix.

解决办法

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())

重现步骤

漏洞 ID: BUG-000172692

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项